mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 01:21:52 +01:00
Use old refresh icon (but with the app's logo)
This commit is contained in:
parent
33df35db1b
commit
4578edf157
@ -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 New Issue
Block a user