From b677723d523d4e7432f68386c8378c035d679cf9 Mon Sep 17 00:00:00 2001 From: Cuong-Tran Date: Mon, 11 Nov 2024 23:20:43 +0700 Subject: [PATCH] fix: app update error notification always disappeared --- .../eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt index 35147790f3..c4c0c8f1e0 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/updater/AppUpdateNotifier.kt @@ -181,9 +181,9 @@ internal class AppUpdateNotifier(private val context: Context) { addAction( R.drawable.ic_close_24dp, 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) } }