mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-19 16:24:41 +01:00
Fix forever muted dialog.
This commit is contained in:
+3
-1
@@ -74,7 +74,9 @@ fun SoundsAndNotificationsSettingsScreen(
|
||||
|
||||
// Mute
|
||||
item {
|
||||
val muteSummary = if (isMuted) {
|
||||
val muteSummary = if (isMuted && state.muteUntil == Long.MAX_VALUE) {
|
||||
stringResource(R.string.ConversationSettingsFragment__conversation_muted_always)
|
||||
} else if (isMuted) {
|
||||
formatMuteUntil(state.muteUntil)
|
||||
} else {
|
||||
stringResource(R.string.SoundsAndNotificationsSettingsFragment__not_muted)
|
||||
|
||||
@@ -6194,8 +6194,9 @@
|
||||
<string name="ConversationSettingsFragment__unmute">Unmute</string>
|
||||
<!-- The subtitle for a settings item that describes how long the user\'s chat is muted. If a chat is muted, you will not receive notifications unless @mentioned. The placeholder represents a time (e.g. 10pm, March 4, etc). -->
|
||||
<string name="ConversationSettingsFragment__conversation_muted_until_s">Chat muted until %1$s</string>
|
||||
<string name="ConversationSettingsFragment__conversation_muted_forever">Chat muted forever</string>
|
||||
<!-- Subtitle when conversation is muted forever -->
|
||||
<string name="ConversationSettingsFragment__conversation_muted_forever">Always</string>
|
||||
<string name="ConversationSettingsFragment__conversation_muted_always">Always</string>
|
||||
<string name="ConversationSettingsFragment__copied_phone_number_to_clipboard">Copied phone number to clipboard.</string>
|
||||
<string name="ConversationSettingsFragment__phone_number">Phone number</string>
|
||||
<string name="ConversationSettingsFragment__get_badges">Get badges for your profile by supporting Signal. Tap on a badge to learn more.</string>
|
||||
|
||||
Reference in New Issue
Block a user