len 9 年之前
父節點
當前提交
ba1dca1826

+ 4 - 4
app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateService.kt

@@ -269,7 +269,7 @@ class LibraryUpdateService : Service() {
      */
     private fun showNotification(title: String, body: String) {
         val n = notification() {
-            setSmallIcon(R.drawable.ic_refresh_white_24dp)
+            setSmallIcon(R.drawable.ic_refresh_white_24dp_img)
             setContentTitle(title)
             setContentText(body)
         }
@@ -284,11 +284,11 @@ class LibraryUpdateService : Service() {
      */
     private fun showProgressNotification(manga: Manga, current: Int, total: Int, cancelIntent: PendingIntent) {
         val n = notification() {
-            setSmallIcon(R.drawable.ic_refresh_white_24dp)
+            setSmallIcon(R.drawable.ic_refresh_white_24dp_img)
             setContentTitle(manga.title)
             setProgress(total, current, false)
             setOngoing(true)
-            addAction(R.drawable.ic_clear_black_24dp, getString(R.string.action_cancel), cancelIntent)
+            addAction(R.drawable.ic_clear_grey_24dp_img, getString(R.string.action_cancel), cancelIntent)
         }
         notificationManager.notify(UPDATE_NOTIFICATION_ID, n)
     }
@@ -303,7 +303,7 @@ class LibraryUpdateService : Service() {
         val body = getUpdatedMangasBody(updates, failed)
 
         val n = notification() {
-            setSmallIcon(R.drawable.ic_refresh_white_24dp)
+            setSmallIcon(R.drawable.ic_refresh_white_24dp_img)
             setContentTitle(title)
             setStyle(NotificationCompat.BigTextStyle().bigText(body))
             setContentIntent(notificationIntent)

二進制
app/src/main/res/drawable-hdpi/ic_clear_grey_24dp_img.png


二進制
app/src/main/res/drawable-hdpi/ic_refresh_white_24dp_img.png


二進制
app/src/main/res/drawable-mdpi/ic_clear_grey_24dp_img.png


二進制
app/src/main/res/drawable-mdpi/ic_refresh_white_24dp_img.png


二進制
app/src/main/res/drawable-xhdpi/ic_clear_grey_24dp_img.png


二進制
app/src/main/res/drawable-xhdpi/ic_refresh_white_24dp_img.png


二進制
app/src/main/res/drawable-xxhdpi/ic_clear_grey_24dp_img.png


二進制
app/src/main/res/drawable-xxhdpi/ic_refresh_white_24dp_img.png


二進制
app/src/main/res/drawable-xxxhdpi/ic_clear_grey_24dp_img.png


二進制
app/src/main/res/drawable-xxxhdpi/ic_refresh_white_24dp_img.png