mirror of
https://github.com/gedoor/legado.git
synced 2024-07-04 23:36:56 +08:00
优化
This commit is contained in:
parent
b30ef00307
commit
72ff30b1ea
|
@ -123,7 +123,10 @@ class ExportBookService : BaseService() {
|
|||
toastOnUi(it.localizedMessage)
|
||||
}
|
||||
|
||||
IntentAction.stop -> stopSelf()
|
||||
IntentAction.stop -> {
|
||||
notificationManager.cancel(NotificationId.ExportBook)
|
||||
stopSelf()
|
||||
}
|
||||
}
|
||||
return super.onStartCommand(intent, flags, startId)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user