Skip to content

Satellite tracker and pass predictor for Android, inspired by Gpredict

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

Arty Bishop5e16c11ab2b3
diff --git a/app/build.gradle b/app/build.gradle
index 40bc472d..570ea6d7 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -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 {
diff --git a/app/src/main/java/com/rtbishop/look4sat/MainViewModel.kt b/app/src/main/java/com/rtbishop/look4sat/MainViewModel.kt
index dd096ace..39e52e5c 100644
--- a/app/src/main/java/com/rtbishop/look4sat/MainViewModel.kt
+++ b/app/src/main/java/com/rtbishop/look4sat/MainViewModel.kt
@@ -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))
diff --git a/build.gradle b/build.gradle
index 4297ac1e..01b8585b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -27,7 +27,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70"
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.71"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.2.1"
}
}
@@ -57,7 +57,7 @@ ext {
room = '2.2.5'
- retrofit = '2.7.2'
+ retrofit = '2.8.1'
dagger = '2.27'