style(AppUpdateNotifier): Fix consistency

This commit is contained in:
Ahmad Ansori Palembani 2024-12-11 19:53:34 +07:00
parent dbf5a7efcd
commit eeb572740a
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 6 additions and 1 deletions

View file

@ -13,6 +13,10 @@ The format is simplified version of [Keep a Changelog](https://keepachangelog.co
### Changes
- Adjust chapter title-details contrast
- Make app updater notification consistent with other notifications
### Fixes
- Fix "Remove from read" not working properly
## [1.9.1]

View file

@ -14,6 +14,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.notificationBuilder
import eu.kanade.tachiyomi.util.system.notificationManager
import yokai.i18n.MR
import yokai.util.lang.getString
@ -30,7 +31,7 @@ internal class AppUpdateNotifier(private val context: Context) {
* Builder to manage notifications.
*/
val notificationBuilder by lazy {
NotificationCompat.Builder(context, Notifications.CHANNEL_COMMON).apply {
context.notificationBuilder(Notifications.CHANNEL_COMMON).apply {
setSmallIcon(AR.drawable.stat_sys_download)
setContentTitle(context.getString(MR.strings.app_name))
}