mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Update Libary update notification. (#5545)
* Update LibraryUpdateNotifier.kt * Update LibraryUpdateService.kt
This commit is contained in:
		| @@ -74,7 +74,7 @@ class LibraryUpdateNotifier(private val context: Context) { | ||||
|                 .setContentTitle(context.getString(R.string.notification_check_updates)) | ||||
|                 .setContentText("($current/$total)") | ||||
|         } else { | ||||
|             val updatingText = manga.joinToString("\n") { it.title } | ||||
|             val updatingText = manga.joinToString("\n") { "• ${it.title}" } | ||||
|             progressNotificationBuilder | ||||
|                 .setContentTitle(context.getString(R.string.notification_updating, current, total)) | ||||
|                 .setStyle(NotificationCompat.BigTextStyle().bigText(updatingText)) | ||||
|   | ||||
| @@ -295,7 +295,6 @@ class LibraryUpdateService( | ||||
|                                 } | ||||
|  | ||||
|                                 currentlyUpdatingManga.add(manga) | ||||
|                                 progressCount.andIncrement | ||||
|                                 notifier.showProgressNotification( | ||||
|                                     currentlyUpdatingManga, | ||||
|                                     progressCount.get(), | ||||
| @@ -328,6 +327,7 @@ class LibraryUpdateService( | ||||
|                                 } | ||||
|  | ||||
|                                 currentlyUpdatingManga.remove(manga) | ||||
|                                 progressCount.andIncrement | ||||
|                                 notifier.showProgressNotification( | ||||
|                                     currentlyUpdatingManga, | ||||
|                                     progressCount.get(), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user