support show the image when back

This commit is contained in:
Siyi Guo committed 2023-04-13 17:08:48 +08:00
1 parent b430697b5c
commit c95c0e192e
2 files changed
+12 -2

No files matched your search

+10
View File
@@ -14,4 +14,14 @@ class SP {
static Future<bool> setDouble(String key, double value) {
return prefs.setDouble(key, value);
}
static String? getString(String key) {
return prefs.getString(key);
}
static Future<bool> setString(String key, String value) {
return prefs.setString(key, value);
}
}