From ae044021ba7b39bf4f7b30459f87f5d6de560dc8 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Tue, 11 May 2021 16:47:27 -0400 Subject: [PATCH] Fix update download complete notification not showing --- .../java/eu/kanade/tachiyomi/data/updater/UpdaterNotifier.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterNotifier.kt index 5839ed13e340..2956637e4ca9 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/updater/UpdaterNotifier.kt @@ -12,6 +12,7 @@ import eu.kanade.tachiyomi.data.notification.NotificationHandler import eu.kanade.tachiyomi.data.notification.NotificationReceiver import eu.kanade.tachiyomi.data.notification.Notifications import eu.kanade.tachiyomi.util.system.getResourceColor +import eu.kanade.tachiyomi.util.system.launchUI import eu.kanade.tachiyomi.util.system.notificationManager /** @@ -152,7 +153,9 @@ internal class UpdaterNotifier(private val context: Context) { ) addReleasePageAction() } - notificationBuilder.show() + launchUI { + notificationBuilder.show() + } } /**