v1.3.3 - Now clearing the selection list after TLE update

This commit is contained in:
Arty Bishop committed 2020-03-27 19:08:57 +00:00
1 parent 902309e083
commit 5e16c11ab2
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ android {
applicationId "com.rtbishop.look4sat"
minSdkVersion 21
targetSdkVersion 29
versionCode 9
versionName '1.3.2'
versionCode 10
versionName '1.3.3'
}
buildTypes {
release {
@@ -94,7 +94,7 @@ class MainViewModel(application: Application) : AndroidViewModel(application) {
val tleList = TLE.importSat(inputStream).apply { sortBy { it.name } }
dataManager.saveTleList(tleList)
tleMainList = tleList
tleSelection = mutableListOf()
updateAndSaveSelectionList(mutableListOf())
_debugMessage.postValue(app.getString(R.string.update_tle_success))
} catch (exception: IOException) {
_debugMessage.postValue(app.getString(R.string.update_failure))