ui: don't show context menu on non-sent yet live message (#3754)

* android, desktop: don't show context menu on non-sent yet live message

* ios: don't show context menu on non-sent yet live message

---------

Co-authored-by: Avently <avently@local>
This commit is contained in:
Stanislav Dmitrenko
2024-01-25 17:48:40 +00:00
committed by GitHub
co-authored by Avently
parent 3e0b863b64
commit 430dc5bd2e
2 changed files with 5 additions and 2 deletions
+3 -1
View File
@@ -749,7 +749,9 @@ struct ChatView: View {
if ci.meta.editable && !mc.isVoice && !live {
menu.append(editAction(ci))
}
menu.append(viewInfoUIAction(ci))
if !ci.isLiveDummy {
menu.append(viewInfoUIAction(ci))
}
if revealed {
menu.append(hideUIAction())
}