Satellite tracker and pass predictor for Android, inspired by Gpredict
Kotlin amsatcelestrakgpsham-radiohamlibhamradiokotlinnasaradiosatellitesatellite-datasatellite-positionsatellite-predictionsatellitessatnogssdrspacespacexstarlink
Fixed tle update triggered crash
Arty Bishopae1fbb1687b2
diff --git a/app/src/main/java/com/rtbishop/look4sat/framework/PreferencesProvider.kt b/app/src/main/java/com/rtbishop/look4sat/framework/PreferencesProvider.ktindex 2fde6483..96e8ac59 100644--- a/app/src/main/java/com/rtbishop/look4sat/framework/PreferencesProvider.kt+++ b/app/src/main/java/com/rtbishop/look4sat/framework/PreferencesProvider.kt@@ -47,7 +47,7 @@ class PreferencesProvider @Inject constructor(} else {sourcesAdapter.fromJson(sourcesString) ?: loadDefaultSources()}- } catch (exception: ClassCastException) {+ } catch (exception: Exception) {loadDefaultSources()}}@@ -67,7 +67,7 @@ class PreferencesProvider @Inject constructor(}companion object {- const val keySources = "sourcesListJson"+ const val keySources = "prefTleSourcesKey"const val keyModes = "satModes"const val keyCompass = "compass"const val keyTextLabels = "shouldUseTextLabels"