This commit is contained in:
spaced4ndy
2026-07-03 23:34:07 +04:00
parent 34c547ccde
commit c97ef0093b
2 changed files with 5 additions and 2 deletions
@@ -218,9 +218,11 @@ fun SendMsgView(
val nowOn = !composeState.value.sign
composeState.value = composeState.value.copy(sign = nowOn)
if (nowOn) {
AlertManager.shared.showAlertMsg(
AlertManager.shared.showAlertDialog(
title = generalGetString(MR.strings.sign_message),
text = generalGetString(if (sendAsGroup) MR.strings.sign_message_as_channel_desc else MR.strings.sign_message_desc)
text = generalGetString(if (sendAsGroup) MR.strings.sign_message_as_channel_desc else MR.strings.sign_message_desc),
dismissText = generalGetString(MR.strings.dont_sign_message),
onDismiss = { composeState.value = composeState.value.copy(sign = false) }
)
}
showDropdown.value = false
@@ -754,6 +754,7 @@
<string name="send_disappearing_message_send">Send</string>
<string name="sign_message">Sign message</string>
<string name="signing_message">Signing message</string>
<string name="dont_sign_message">Don\'t sign</string>
<string name="sign_message_desc">A signature is transferable, non-repudiable proof that you authored this message — it confirms authorship and integrity, not timing, order, or completeness.</string>
<string name="sign_message_as_channel_desc">A signature is transferable, non-repudiable proof that you authored this message — it confirms authorship and integrity, not timing, order, or completeness. Signing a post sent as the channel also reveals you as its author.</string>
<string name="live_message">Live message!</string>