library update notif text progress (#5098)
(cherry picked from commit cf4b870846f90c8c220cf1c6a6274bf11483c8a4)
This commit is contained in:
parent
970e6e2560
commit
7d49479783
@ -79,7 +79,8 @@ class LibraryUpdateNotifier(private val context: Context) {
|
|||||||
context.notificationManager.notify(
|
context.notificationManager.notify(
|
||||||
Notifications.ID_LIBRARY_PROGRESS,
|
Notifications.ID_LIBRARY_PROGRESS,
|
||||||
progressNotificationBuilder
|
progressNotificationBuilder
|
||||||
.setContentTitle(title)
|
.setContentTitle(title.chop(40))
|
||||||
|
.setContentText("($current/$total)")
|
||||||
.setProgress(total, current, false)
|
.setProgress(total, current, false)
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user