mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-24 11:41:01 +00:00
fix: Do not delete cached downloads
This commit is contained in:
@@ -38,7 +38,6 @@ class GithubAPI {
|
||||
Future<void> clearAllCache() async {
|
||||
try {
|
||||
await _cacheOptions.store!.clean();
|
||||
await DefaultCacheManager().emptyCache();
|
||||
} on Exception catch (e) {
|
||||
if (kDebugMode) {
|
||||
print(e);
|
||||
|
||||
@@ -41,7 +41,6 @@ class RevancedAPI {
|
||||
Future<void> clearAllCache() async {
|
||||
try {
|
||||
await _cacheOptions.store!.clean();
|
||||
await DefaultCacheManager().emptyCache();
|
||||
} on Exception catch (e) {
|
||||
if (kDebugMode) {
|
||||
print(e);
|
||||
|
||||
Reference in New Issue
Block a user