Fix update download complete notification not showing

This commit is contained in:
Jays2Kings 2021-05-11 16:47:27 -04:00
parent 9c696d3b6b
commit ae044021ba

View File

@ -12,6 +12,7 @@ import eu.kanade.tachiyomi.data.notification.NotificationHandler
import eu.kanade.tachiyomi.data.notification.NotificationReceiver import eu.kanade.tachiyomi.data.notification.NotificationReceiver
import eu.kanade.tachiyomi.data.notification.Notifications import eu.kanade.tachiyomi.data.notification.Notifications
import eu.kanade.tachiyomi.util.system.getResourceColor import eu.kanade.tachiyomi.util.system.getResourceColor
import eu.kanade.tachiyomi.util.system.launchUI
import eu.kanade.tachiyomi.util.system.notificationManager import eu.kanade.tachiyomi.util.system.notificationManager
/** /**
@ -152,7 +153,9 @@ internal class UpdaterNotifier(private val context: Context) {
) )
addReleasePageAction() addReleasePageAction()
} }
notificationBuilder.show() launchUI {
notificationBuilder.show()
}
} }
/** /**