fix notification channel names (#4959)
This changes the notification channel names back to what they were pre https://github.com/tuskyapp/Tusky/pull/4929 so users don't lose their settings and the channels won't be duplicated. Tusky nightly users that installed a in-between version will still have duplicate channels, they will need to reinstall.
This commit is contained in:
parent
ba4f57ecaa
commit
e6c4442370
1 changed files with 3 additions and 3 deletions
|
|
@ -48,13 +48,13 @@ enum class NotificationChannelData(
|
|||
R.string.notification_poll_description
|
||||
),
|
||||
|
||||
STATUS(
|
||||
SUBSCRIPTIONS(
|
||||
listOf(Notification.Type.Status),
|
||||
R.string.notification_subscription_name,
|
||||
R.string.notification_subscription_description
|
||||
),
|
||||
|
||||
UPDATE(
|
||||
UPDATES(
|
||||
listOf(Notification.Type.Update),
|
||||
R.string.notification_update_name,
|
||||
R.string.notification_update_description
|
||||
|
|
@ -77,7 +77,7 @@ enum class NotificationChannelData(
|
|||
}
|
||||
|
||||
fun getChannelId(accountIdentifier: String): String {
|
||||
return "CHANNEL_${name}_$accountIdentifier"
|
||||
return "CHANNEL_${name}$accountIdentifier"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue