mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
small tweaks
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -162,7 +162,8 @@ fun IconCard(iconData: ApplicationIconDetails, selected: Boolean, modifier: Modi
|
||||
.selectable(
|
||||
selected = selected,
|
||||
onClick = {
|
||||
showSelection = true
|
||||
if (!selected)
|
||||
showSelection = true
|
||||
},
|
||||
role = Role.RadioButton
|
||||
)
|
||||
|
||||
@@ -156,7 +156,7 @@ class PreferenceUtils(private val sharedPreferences: SharedPreferences) {
|
||||
|
||||
private fun defaultValueForBooleanKey(key: Key): Boolean {
|
||||
return when (key) {
|
||||
Key.UPDATE_AUTOMATICALLY, Key.FORCE_HRR, Key.LOAD_AUTOMATICALLY -> true
|
||||
Key.UPDATE_AUTOMATICALLY, Key.FORCE_HRR -> true
|
||||
Key.DEVELOPER_MODE -> BuildConfig.DEBUG
|
||||
else -> false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user