Fix title of restore notification channel
The restore foreground service notification uses the restore channel, which was inadvertently using the title from the error channel, showing "Auto restore flash drive error" when tapping and holding on the notification, and showing that channel name twice in the notification settings.
This commit is contained in:
parent
f2aec3f932
commit
a27ef47294
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ internal class BackupNotificationManager(private val context: Context) {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getRestoreChannel(): NotificationChannel {
|
private fun getRestoreChannel(): NotificationChannel {
|
||||||
val title = context.getString(R.string.notification_restore_error_channel_title)
|
val title = context.getString(R.string.notification_restore_channel_title)
|
||||||
return NotificationChannel(CHANNEL_ID_RESTORE, title, IMPORTANCE_LOW)
|
return NotificationChannel(CHANNEL_ID_RESTORE, title, IMPORTANCE_LOW)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue