mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Merge pull request #3451 from kiwix/Issue#3441
Fixes of Zim file does not download / pending forever
This commit is contained in:
commit
06c9dbc9ca
@ -101,7 +101,7 @@ class FetchDownloadNotificationManager(private val context: Context) :
|
||||
.addAction(
|
||||
R.drawable.fetch_notification_cancel,
|
||||
context.getString(R.string.cancel),
|
||||
getActionPendingIntent(downloadNotification, DownloadNotification.ActionType.CANCEL)
|
||||
getActionPendingIntent(downloadNotification, DownloadNotification.ActionType.DELETE)
|
||||
)
|
||||
downloadNotification.isPaused ->
|
||||
notificationBuilder.setTimeoutAfter(getNotificationTimeOutMillis())
|
||||
@ -113,7 +113,7 @@ class FetchDownloadNotificationManager(private val context: Context) :
|
||||
.addAction(
|
||||
R.drawable.fetch_notification_cancel,
|
||||
context.getString(R.string.cancel),
|
||||
getActionPendingIntent(downloadNotification, DownloadNotification.ActionType.CANCEL)
|
||||
getActionPendingIntent(downloadNotification, DownloadNotification.ActionType.DELETE)
|
||||
)
|
||||
downloadNotification.isQueued ->
|
||||
notificationBuilder.setTimeoutAfter(getNotificationTimeOutMillis())
|
||||
|
Loading…
x
Reference in New Issue
Block a user