mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Use old refresh icon (but with the app's logo)
This commit is contained in:
parent
33df35db1b
commit
4578edf157
5 changed files with 3 additions and 3 deletions
|
@ -377,7 +377,7 @@ class LibraryUpdateService : Service() {
|
|||
*/
|
||||
private fun showNotification(title: String, body: String) {
|
||||
notificationManager.notify(notificationId, notification() {
|
||||
setSmallIcon(R.drawable.notification_icon)
|
||||
setSmallIcon(R.drawable.ic_refresh_white_24dp_img)
|
||||
setLargeIcon(notificationBitmap)
|
||||
setContentTitle(title)
|
||||
setContentText(body)
|
||||
|
@ -393,7 +393,7 @@ class LibraryUpdateService : Service() {
|
|||
*/
|
||||
private fun showProgressNotification(manga: Manga, current: Int, total: Int, cancelIntent: PendingIntent) {
|
||||
notificationManager.notify(notificationId, notification() {
|
||||
setSmallIcon(R.drawable.notification_icon)
|
||||
setSmallIcon(R.drawable.ic_refresh_white_24dp_img)
|
||||
setLargeIcon(notificationBitmap)
|
||||
setContentTitle(manga.title)
|
||||
setProgress(total, current, false)
|
||||
|
@ -414,7 +414,7 @@ class LibraryUpdateService : Service() {
|
|||
val body = getUpdatedMangasBody(updates, failed)
|
||||
|
||||
notificationManager.notify(notificationId, notification() {
|
||||
setSmallIcon(R.drawable.notification_icon)
|
||||
setSmallIcon(R.drawable.ic_refresh_white_24dp_img)
|
||||
setLargeIcon(notificationBitmap)
|
||||
setContentTitle(title)
|
||||
setStyle(NotificationCompat.BigTextStyle().bigText(body))
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 554 B |
Binary file not shown.
Before Width: | Height: | Size: 403 B |
Binary file not shown.
Before Width: | Height: | Size: 754 B |
Binary file not shown.
Before Width: | Height: | Size: 1.1 KiB |
Loading…
Reference in a new issue