File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -227,10 +227,6 @@ class LocalPreferences {
227227 static LocalPreferences ? _instance;
228228
229229 static Future <void > initialize () async {
230- final withCache = await SharedPreferencesWithCache .create (
231- cacheOptions: SharedPreferencesWithCacheOptions (),
232- );
233-
234230 try {
235231 await _migrateFromLegacy ("migrate-d6bf17de-7a59-493c-aa79-30bcd848021e" );
236232 } catch (e) {
@@ -240,6 +236,10 @@ class LocalPreferences {
240236 );
241237 }
242238
239+ final withCache = await SharedPreferencesWithCache .create (
240+ cacheOptions: SharedPreferencesWithCacheOptions (),
241+ );
242+
243243 _instance ?? = LocalPreferences ._internal (withCache);
244244 }
245245
@@ -285,7 +285,6 @@ class LocalPreferences {
285285 }
286286
287287 await neuePrefs.setBool (migrationCompletedKey, true );
288- await neuePrefs.reloadCache ();
289288
290289 return ;
291290 }
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: A personal finance managing app
33
44publish_to : " none" # Remove this line if you wish to publish to pub.dev
55
6- version : " 0.12.2+167 "
6+ version : " 0.12.2+168 "
77
88environment :
99 sdk : " >=3.7.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments