refa: cache manager (#2266)

* opt: image utils

* refa: cache manager
This commit is contained in:
My-Responsitories
2026-06-02 14:09:36 +00:00
committed by dom
parent 2c775e6d19
commit 95efeec147
26 changed files with 124 additions and 198 deletions

View File

@@ -94,7 +94,11 @@ void main() async {
if (kDebugMode) debugPrint('GStorage init error: $e');
exit(0);
}
await Future.wait([_initDownPath(), _initTmpPath()]);
await Future.wait([
_initDownPath(),
_initTmpPath(),
CacheManager.ensureInitialized(),
]);
Get
..lazyPut(AccountService.new)
..lazyPut(DownloadService.new);