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,8 +153,10 @@ internal class UpdaterNotifier(private val context: Context) {
) )
addReleasePageAction() addReleasePageAction()
} }
launchUI {
notificationBuilder.show() notificationBuilder.show()
} }
}
/** /**
* Call when apk download throws a error * Call when apk download throws a error