kopia lustrzana https://github.com/rt-bishop/Look4Sat
Fixed a minor crash in SettingsRepo, updated deps
rodzic
d5d9e917ca
commit
b3fb56f14f
|
@ -73,8 +73,8 @@ class SettingsRepo(private val manager: LocationManager, private val preferences
|
|||
|
||||
private fun getSelectedIds(): List<Int> {
|
||||
val selectionString = preferences.getString(keySelectedIds, null)
|
||||
val selectionList = selectionString?.split(separatorComma)?.map { it.toInt() }
|
||||
return selectionList ?: emptyList()
|
||||
if (selectionString.isNullOrEmpty()) return emptyList()
|
||||
return selectionString.split(separatorComma).map { it.toInt() }
|
||||
}
|
||||
//endregion
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[versions]
|
||||
android-gradle-plugin = "8.1.3"
|
||||
google-ksp = "1.9.10-1.0.13"
|
||||
kotlin = "1.9.10"
|
||||
android-gradle-plugin = "8.2.0"
|
||||
google-ksp = "1.9.21-1.0.15"
|
||||
kotlin = "1.9.21"
|
||||
|
||||
jvmToolchain = "17"
|
||||
|
||||
|
@ -13,18 +13,18 @@ versionName = "3.1.3"
|
|||
|
||||
androidx-core-ktx = "1.12.0"
|
||||
androidx-core-splashscreen = "1.0.1"
|
||||
androidx-room = "2.6.0"
|
||||
androidx-room = "2.6.1"
|
||||
|
||||
compose = "1.5.4"
|
||||
compose-activity = "1.8.0"
|
||||
compose-compiler = "1.5.3"
|
||||
compose-activity = "1.8.1"
|
||||
compose-compiler = "1.5.6"
|
||||
compose-lifecycle = "2.6.2"
|
||||
compose-material3 = "1.1.2"
|
||||
compose-navigation = "2.7.5"
|
||||
|
||||
other-coroutines = "1.7.3"
|
||||
other-json = "20230618"
|
||||
other-okhttp = "4.10.0"
|
||||
other-json = "20231013"
|
||||
other-okhttp = "4.12.0"
|
||||
other-osmdroid = "6.1.17"
|
||||
|
||||
test-junit4 = "4.13.2"
|
||||
|
|
Ładowanie…
Reference in New Issue