This commit is contained in:
Horis
2025-02-09 12:32:30 +08:00
parent 312556c167
commit cea41ae6f3
@@ -89,10 +89,12 @@ object CacheBook {
} }
fun stop(context: Context) { fun stop(context: Context) {
if (CacheBookService.isRun) {
context.startService<CacheBookService> { context.startService<CacheBookService> {
action = IntentAction.stop action = IntentAction.stop
} }
} }
}
fun clear() { fun clear() {
successDownloadSet.clear() successDownloadSet.clear()