fix: app update error notification always disappeared

This commit is contained in:
Cuong-Tran 2024-11-11 23:20:43 +07:00
parent 9df21583dc
commit b677723d52
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -181,9 +181,9 @@ internal class AppUpdateNotifier(private val context: Context) {
addAction( addAction(
R.drawable.ic_close_24dp, R.drawable.ic_close_24dp,
context.stringResource(MR.strings.action_cancel), context.stringResource(MR.strings.action_cancel),
NotificationReceiver.dismissNotificationPendingBroadcast(context, Notifications.ID_APP_UPDATER), NotificationReceiver.dismissNotificationPendingBroadcast(context, Notifications.ID_APP_UPDATE_PROMPT),
) )
} }
notificationBuilder.show(Notifications.ID_APP_UPDATER) notificationBuilder.show(Notifications.ID_APP_UPDATE_PROMPT)
} }
} }