WIP - Provider refactorings

This commit is contained in:
Anton Stubenbord
2022-12-27 00:12:33 +01:00
parent 60aecb549d
commit bf0e186646
53 changed files with 434 additions and 416 deletions

View File

@@ -13,7 +13,7 @@ class ClearStorageSetting extends StatelessWidget {
subtitle:
Text("Remove downloaded files, scans and clear the cache's content"),
onTap: () {
Provider.of<cm.CacheManager>(context).emptyCache();
context.read<cm.CacheManager>().emptyCache();
FileService.clearUserData();
},
);