Migrate legacy storage keys to scoped keys in various store classes (#289)

This commit is contained in:
Winston Lowe
2026-03-12 08:39:17 -07:00
committed by GitHub
parent 1fba5312a2
commit c81791cf1e
8 changed files with 28 additions and 6 deletions
+3
View File
@@ -45,6 +45,9 @@ class UnreadStore {
jsonString = legacyJsonString;
}
}
if (jsonString == null || jsonString.isEmpty) {
jsonString = prefs.getString(keyFor);
}
if (jsonString == null || jsonString.isEmpty) {
return {};
}