mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[android] fix downloader notification using wrong icon
Signed-off-by: hb0nd <me@hbond.xyz>
This commit is contained in:
@@ -124,7 +124,7 @@ public class DownloaderNotifier
|
|||||||
return new NotificationCompat.Builder(mContext, CHANNEL_ID)
|
return new NotificationCompat.Builder(mContext, CHANNEL_ID)
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
.setVisibility(NotificationCompat.VISIBILITY_PUBLIC)
|
||||||
.setSmallIcon(R.drawable.ic_launcher)
|
.setSmallIcon(R.drawable.ic_launcher_small)
|
||||||
.setColor(ContextCompat.getColor(mContext, R.color.notification))
|
.setColor(ContextCompat.getColor(mContext, R.color.notification))
|
||||||
.setShowWhen(true)
|
.setShowWhen(true)
|
||||||
.setContentTitle(title)
|
.setContentTitle(title)
|
||||||
|
|||||||
Reference in New Issue
Block a user