Add a temporary icon

This commit is contained in:
AntsyLich
2024-01-16 01:02:57 +06:00
parent c9906491fb
commit 5067160132
19 changed files with 61 additions and 95 deletions
@@ -153,7 +153,7 @@ class LibraryUpdateNotifier(
) {
setContentTitle(context.stringResource(MR.strings.notification_update_error, failed))
setContentText(context.stringResource(MR.strings.action_show_errors))
setSmallIcon(R.drawable.ic_tachi)
setSmallIcon(R.drawable.ic_mihon)
setContentIntent(NotificationReceiver.openErrorLogPendingActivity(context, uri))
}
@@ -193,7 +193,7 @@ class LibraryUpdateNotifier(
}
}
setSmallIcon(R.drawable.ic_tachi)
setSmallIcon(R.drawable.ic_mihon)
setLargeIcon(notificationBitmap)
setGroup(Notifications.GROUP_NEW_CHAPTERS)
@@ -229,7 +229,7 @@ class LibraryUpdateNotifier(
setContentText(description)
setStyle(NotificationCompat.BigTextStyle().bigText(description))
setSmallIcon(R.drawable.ic_tachi)
setSmallIcon(R.drawable.ic_mihon)
if (icon != null) {
setLargeIcon(icon)