This commit is contained in:
Horis 2024-05-31 19:04:36 +08:00
parent b30ef00307
commit 72ff30b1ea

View File

@ -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)
}