mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -89,8 +89,10 @@ object CacheBook {
|
||||
}
|
||||
|
||||
fun stop(context: Context) {
|
||||
context.startService<CacheBookService> {
|
||||
action = IntentAction.stop
|
||||
if (CacheBookService.isRun) {
|
||||
context.startService<CacheBookService> {
|
||||
action = IntentAction.stop
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user