High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(mobile): fix notification icon not displaying properly (#16710)
Yaros5252c013ec4d
diff --git a/mobile/android/app/src/main/kotlin/app/alextran/immich/BackupWorker.kt b/mobile/android/app/src/main/kotlin/app/alextran/immich/BackupWorker.ktindex c4c87ff519..0fb75b002c 100644--- a/mobile/android/app/src/main/kotlin/app/alextran/immich/BackupWorker.kt+++ b/mobile/android/app/src/main/kotlin/app/alextran/immich/BackupWorker.kt@@ -221,7 +221,7 @@ class BackupWorker(ctx: Context, params: WorkerParameters) : ListenableWorker(ct.setContentTitle(title).setTicker(title).setContentText(content)- .setSmallIcon(R.mipmap.ic_launcher)+ .setSmallIcon(R.drawable.notification_icon).build()notificationManager.notify(individualTag, NOTIFICATION_ERROR_ID, notification)}@@ -260,7 +260,7 @@ class BackupWorker(ctx: Context, params: WorkerParameters) : ListenableWorker(ctvar builder = if (isDetail) notificationDetailBuilder else notificationBuilderif (builder == null) {builder = NotificationCompat.Builder(applicationContext, NOTIFICATION_CHANNEL_ID)- .setSmallIcon(R.mipmap.ic_launcher)+ .setSmallIcon(R.drawable.notification_icon).setOnlyAlertOnce(true).setOngoing(true)if (isDetail) {