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:
t-m-w 2024-10-03 16:09:25 -04:00 committed by GitHub
parent f2aec3f932
commit a27ef47294
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,7 @@ internal class BackupNotificationManager(private val context: Context) {
}
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)
}