From cf4b870846f90c8c220cf1c6a6274bf11483c8a4 Mon Sep 17 00:00:00 2001 From: Riztard Lanthorn Date: Tue, 18 May 2021 04:20:58 +0700 Subject: [PATCH] library update notif text progress (#5098) --- .../eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt index d760fce94..870c3ef56 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateNotifier.kt @@ -78,7 +78,8 @@ class LibraryUpdateNotifier(private val context: Context) { context.notificationManager.notify( Notifications.ID_LIBRARY_PROGRESS, progressNotificationBuilder - .setContentTitle(title) + .setContentTitle(title.chop(40)) + .setContentText("($current/$total)") .setProgress(total, current, false) .build() )