feat: use different wording for quick reply none
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
47d4ecd0a6
commit
79d83f3be2
|
|
@ -14,6 +14,7 @@ fun RadioItem(
|
|||
onClick: () -> Unit,
|
||||
label: @Composable () -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
description: @Composable () -> Unit = {},
|
||||
) {
|
||||
ListItem(
|
||||
modifier = modifier
|
||||
|
|
@ -31,6 +32,9 @@ fun RadioItem(
|
|||
selected = selected,
|
||||
onClick = null
|
||||
)
|
||||
},
|
||||
supportingContent = {
|
||||
description()
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
@ -180,7 +180,10 @@ fun ChatSettingsScreen(
|
|||
RadioItem(
|
||||
selected = LoadedSettings.messageReplyStyle == MessageReplyStyle.None,
|
||||
onClick = { viewModel.updateMessageReplyStyle(MessageReplyStyle.None) },
|
||||
label = { Text(text = stringResource(R.string.settings_chat_quick_reply_none)) }
|
||||
label = { Text(text = stringResource(R.string.settings_chat_quick_reply_none)) },
|
||||
description = {
|
||||
Text(text = stringResource(R.string.settings_chat_quick_reply_none_description))
|
||||
}
|
||||
)
|
||||
RadioItem(
|
||||
selected = LoadedSettings.messageReplyStyle == MessageReplyStyle.SwipeFromEnd,
|
||||
|
|
|
|||
|
|
@ -680,7 +680,8 @@
|
|||
|
||||
<string name="settings_chat">Chat</string>
|
||||
<string name="settings_chat_quick_reply">Quick Reply</string>
|
||||
<string name="settings_chat_quick_reply_none">Long press to reply</string>
|
||||
<string name="settings_chat_quick_reply_none">No Quick Reply</string>
|
||||
<string name="settings_chat_quick_reply_none_description">You can reply from any message\'s menu.</string>
|
||||
<string name="settings_chat_quick_reply_swipe_from_end">Swipe to reply</string>
|
||||
<string name="settings_chat_quick_reply_double_tap">Double tap to reply</string>
|
||||
<string name="settings_chat_interactive_embeds">Interactive Embeds</string>
|
||||
|
|
|
|||
Loading…
Reference in New Issue