Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed May 31, 2024
1 parent b30ef00 commit 72ff30b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/java/io/legado/app/service/ExportBookService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 72ff30b

Please sign in to comment.