Skip to content

Commit d0b6a30

Browse files
committed
Fix notification icon
1 parent ad35907 commit d0b6a30

File tree

2 files changed

+1
-171
lines changed

2 files changed

+1
-171
lines changed

app/src/main/java/com/phpbg/easysync/Notifications.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fun showNotification(
5454
notificationManager.createNotificationChannel(channel)
5555

5656
val notification = Notification.Builder(context, id).setContentTitle(title).setContentText(text)
57-
.setTicker(title).setSmallIcon(R.drawable.ic_launcher_background).setOnlyAlertOnce(true)
57+
.setTicker(title).setSmallIcon(R.drawable.ic_launcher_foreground).setOnlyAlertOnce(true)
5858
.setAutoCancel(true).setContentIntent(pendingIntent).build()
5959

6060
notificationManager.notify(notificationId.id, notification)

app/src/main/res/drawable/ic_launcher_background.xml

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)