library update notif text progress (#5098)

(cherry picked from commit cf4b870846)
This commit is contained in:
Riztard Lanthorn
2021-05-18 04:20:58 +07:00
committed by Jobobby04
parent 970e6e2560
commit 7d49479783
@@ -79,7 +79,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()
)