mobile: do not show "observer" overlay when user leaves group

This commit is contained in:
Evgeny Poberezkin 2023-03-16 23:29:47 +00:00
parent 37d0bc2f14
commit c50306709b
6 changed files with 41 additions and 10 deletions

View file

@ -291,7 +291,7 @@ struct ComposeView: View {
.background(.background)
.disabled(!chat.userCanSend)
if (!chat.userCanSend) {
if chat.userIsObserver {
Text("you are observer")
.italic()
.foregroundColor(.secondary)