Fixed a minor crash in SettingsRepo, updated deps

pull/122/head
Arty Bishop 2023-12-01 13:10:35 +00:00
rodzic d5d9e917ca
commit b3fb56f14f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 5C71CFDC37AD73CC
2 zmienionych plików z 10 dodań i 10 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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"