mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-15 05:27:28 +01:00
Add option to invalidate download cache (#8491)
* Add option to invalidate download cache * Review changes + lint
This commit is contained in:
@@ -233,6 +233,10 @@ class DownloadCache(
|
||||
return UniFile.fromUri(context, dir.toUri())
|
||||
}
|
||||
|
||||
fun invalidateCache() {
|
||||
lastRenew = 0L
|
||||
}
|
||||
|
||||
/**
|
||||
* Renews the downloads cache.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user