feat(library): remember visibility and store order (#1591)

This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-26 07:44:07 -04:00
1 parent fbb334263c
commit 63d1e4d61d
6 files changed
+303 -21

No files matched your search

@@ -111,6 +111,12 @@ object SessionPrefs {
prefs(context).edit().putString("storesView", if (view in STORES_VIEWS) view else STORES_VIEWS.first()).apply()
}
fun libraryShowUninstalled(context: Context): Boolean = prefs(context).getBoolean("libraryShowUninstalled", false)
fun setLibraryShowUninstalled(context: Context, show: Boolean) {
prefs(context).edit().putBoolean("libraryShowUninstalled", show).apply()
}
fun storesTabOrder(context: Context): List<String> = idList(prefs(context).getString("storesTabOrder", null))
fun setStoresTabOrder(context: Context, order: List<String>) {