Set notification number for library updates to number of new updates (#1551)

This commit is contained in:
FlaminSarge 2018-07-29 14:01:15 -07:00 committed by inorichi
parent 16dc4d298d
commit 7c99ae1b3b

View File

@ -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())
}