Merge pull request #3 from Pacalini/cache

cache manager: fix setLimitSize & checkCache
This commit is contained in:
nyne
2024-10-29 12:17:22 +08:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ class _AppSettingsState extends State<AppSettings> {
appdata.saveData();
setState(() {});
CacheManager()
.setLimitSize(appdata.settings['cacheSize'] * 1024 * 1024);
.setLimitSize(appdata.settings['cacheSize']);
return null;
},
);