mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 16:18:55 +01:00 
			
		
		
		
	Set notification number for library updates to number of new updates (#1551)
This commit is contained in:
		@@ -460,6 +460,7 @@ class LibraryUpdateService(
 | 
			
		||||
            if (newUpdates.size > 1) {
 | 
			
		||||
                setContentText(getString(R.string.notification_new_chapters_text, newUpdates.size))
 | 
			
		||||
                setStyle(NotificationCompat.BigTextStyle().bigText(newUpdates.joinToString("\n")))
 | 
			
		||||
                setNumber(newUpdates.size)
 | 
			
		||||
            } else {
 | 
			
		||||
                setContentText(newUpdates.first())
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user