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
@@ -386,7 +386,11 @@ class NotificationManagerImpl @Inject constructor(
return NotificationCompat.Builder(context, BACKUP_RESTORE_CHANNEL_ID)
.setContentTitle(context.getString(R.string.backup_restoring))
.setShowWhen(false)
.setWhen(System.currentTimeMillis()) // Set this anyway in case it's shown
.setSmallIcon(R.drawable.ic_file_download_black_24dp)
.setColor(colors.theme().theme)
.setCategory(NotificationCompat.CATEGORY_PROGRESS)
.setPriority(NotificationCompat.PRIORITY_MIN)
.setProgress(0, 0, true)
.setOngoing(true)