mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-18 20:19:17 +01:00
library update notif text progress (#5098)
This commit is contained in:
parent
5e37f72d74
commit
cf4b870846
@ -78,7 +78,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…
Reference in New Issue
Block a user