Fix forever muted dialog.

This commit is contained in:
Michelle Tang
2026-09-02 16:11:31 -03:00
committed by Alex Hart
parent 27d041b5a5
commit 918a2a5982
2 changed files with 5 additions and 2 deletions
@@ -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)
+2 -1
View File
@@ -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>