This commit is contained in:
Horis
2025-02-09 12:32:30 +08:00
parent cb56ba7475
commit 45d631c1b7
@@ -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()