1
0
mirror of https://github.com/nextcloud/talk-android synced 2025-07-12 23:34:31 +01:00

Merge pull request from nextcloud/bugfix/noid/fixLeaveAndDeleteConversationVisibility

fix visibility of conversation options
This commit is contained in:
Sowjanya Kota 2024-04-29 10:09:45 +02:00 committed by GitHub
commit 7b3746e4f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -720,13 +720,13 @@ class ConversationInfoActivity :
setupWebinaryView()
if (ConversationUtils.canLeave(conversation!!)) {
if (!ConversationUtils.canLeave(conversation!!)) {
binding.leaveConversationAction.visibility = GONE
} else {
binding.leaveConversationAction.visibility = VISIBLE
}
if (ConversationUtils.canDelete(conversation!!, spreedCapabilities)) {
if (!ConversationUtils.canDelete(conversation!!, spreedCapabilities)) {
binding.deleteConversationAction.visibility = GONE
} else {
binding.deleteConversationAction.visibility = VISIBLE