Skip to content

Commit

Permalink
add app icon to download error notification
Browse files Browse the repository at this point in the history
  • Loading branch information
cuong-tran committed Dec 31, 2024
1 parent 14209b4 commit c5b6141
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ internal class DownloadNotifier(private val context: Context) {
private val errorNotificationBuilder by lazy {
context.notificationBuilder(Notifications.CHANNEL_DOWNLOADER_ERROR) {
setColor(ContextCompat.getColor(context, R.color.ic_launcher))
setLargeIcon(BitmapFactory.decodeResource(context.resources, R.drawable.komikku))
setAutoCancel(false)
}
}
Expand Down

0 comments on commit c5b6141

Please sign in to comment.