mirror of
https://github.com/CherretGit/zaprett-app.git
synced 2025-12-18 17:49:38 +05:00
fix app list mode
This commit is contained in:
@@ -725,7 +725,7 @@ fun getAppsListMode(prefs : SharedPreferences) : String {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return prefs.getString("applist", "")!!
|
return prefs.getString("app_list", "none")!!
|
||||||
}
|
}
|
||||||
return "none"
|
return "none"
|
||||||
}
|
}
|
||||||
@@ -753,7 +753,7 @@ fun setAppsListMode(prefs: SharedPreferences, mode: String) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
prefs.edit { putString("app-list", mode) }
|
prefs.edit { putString("app_list", mode) }
|
||||||
}
|
}
|
||||||
Log.d("App List", "Changed to $mode")
|
Log.d("App List", "Changed to $mode")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user