Update styling for progress notification

This commit is contained in:
Moez Bhatti
2018-08-28 13:10:39 -04:00
parent 6d6e7efe4b
commit 878770e928
2 changed files with 7 additions and 1 deletions
@@ -83,7 +83,9 @@ class RestoreBackupService : Service() {
.subscribe { progress ->
when (progress) {
is BackupRepository.Progress.Running -> {
notification.setProgress(100, progress.progress, false)
notification
.setProgress(100, progress.progress, false)
.setContentText("${progress.progress}%")
notificationManager.notify(NOTIFICATION_ID, notification.build())
}