mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-20 22:11:31 +00:00
wip
This commit is contained in:
+4
-2
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user