mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-04 11:37:22 +00:00
Fixed a minor crash in SettingsRepo, updated deps
This commit is contained in:
1 parent
ae53e5dc35
commit
8dc0cf7051
2 files changed
+10
-10
No files matched your search
@@ -73,8 +73,8 @@ class SettingsRepo(private val manager: LocationManager, private val preferences
|
|||||||
|
|
||||||
private fun getSelectedIds(): List<Int> {
|
private fun getSelectedIds(): List<Int> {
|
||||||
val selectionString = preferences.getString(keySelectedIds, null)
|
val selectionString = preferences.getString(keySelectedIds, null)
|
||||||
val selectionList = selectionString?.split(separatorComma)?.map { it.toInt() }
|
if (selectionString.isNullOrEmpty()) return emptyList()
|
||||||
return selectionList ?: emptyList()
|
return selectionString.split(separatorComma).map { it.toInt() }
|
||||||
}
|
}
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[versions]
|
[versions]
|
||||||
android-gradle-plugin = "8.1.3"
|
android-gradle-plugin = "8.2.0"
|
||||||
google-ksp = "1.9.10-1.0.13"
|
google-ksp = "1.9.21-1.0.15"
|
||||||
kotlin = "1.9.10"
|
kotlin = "1.9.21"
|
||||||
|
|
||||||
jvmToolchain = "17"
|
jvmToolchain = "17"
|
||||||
|
|
||||||
@@ -13,18 +13,18 @@ versionName = "3.1.3"
|
|||||||
|
|
||||||
androidx-core-ktx = "1.12.0"
|
androidx-core-ktx = "1.12.0"
|
||||||
androidx-core-splashscreen = "1.0.1"
|
androidx-core-splashscreen = "1.0.1"
|
||||||
androidx-room = "2.6.0"
|
androidx-room = "2.6.1"
|
||||||
|
|
||||||
compose = "1.5.4"
|
compose = "1.5.4"
|
||||||
compose-activity = "1.8.0"
|
compose-activity = "1.8.1"
|
||||||
compose-compiler = "1.5.3"
|
compose-compiler = "1.5.6"
|
||||||
compose-lifecycle = "2.6.2"
|
compose-lifecycle = "2.6.2"
|
||||||
compose-material3 = "1.1.2"
|
compose-material3 = "1.1.2"
|
||||||
compose-navigation = "2.7.5"
|
compose-navigation = "2.7.5"
|
||||||
|
|
||||||
other-coroutines = "1.7.3"
|
other-coroutines = "1.7.3"
|
||||||
other-json = "20230618"
|
other-json = "20231013"
|
||||||
other-okhttp = "4.10.0"
|
other-okhttp = "4.12.0"
|
||||||
other-osmdroid = "6.1.17"
|
other-osmdroid = "6.1.17"
|
||||||
|
|
||||||
test-junit4 = "4.13.2"
|
test-junit4 = "4.13.2"
|
||||||
|
|||||||
Reference in new issue
Block a user