mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 17:08:34 +03:00
hide archiveConversationTextHint when archive not available
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
3e10813ae0
commit
07cf834cc5
1 changed files with 3 additions and 3 deletions
|
@ -403,10 +403,9 @@ class ConversationInfoActivity :
|
|||
}
|
||||
}
|
||||
|
||||
private fun webinaryRoomType(conversation: ConversationModel): Boolean {
|
||||
return conversation.type == ConversationEnums.ConversationType.ROOM_GROUP_CALL ||
|
||||
private fun webinaryRoomType(conversation: ConversationModel): Boolean =
|
||||
conversation.type == ConversationEnums.ConversationType.ROOM_GROUP_CALL ||
|
||||
conversation.type == ConversationEnums.ConversationType.ROOM_PUBLIC_CALL
|
||||
}
|
||||
|
||||
private fun reconfigureLobbyTimerView(dateTime: Calendar? = null) {
|
||||
val isChecked = binding.webinarInfoView.lobbySwitch.isChecked
|
||||
|
@ -794,6 +793,7 @@ class ConversationInfoActivity :
|
|||
|
||||
if (!CapabilitiesUtil.isArchiveConversationsAvailable(spreedCapabilities)) {
|
||||
binding.archiveConversationBtn.visibility = GONE
|
||||
binding.archiveConversationTextHint.visibility = GONE
|
||||
}
|
||||
|
||||
binding.archiveConversationBtn.setOnClickListener {
|
||||
|
|
Loading…
Reference in a new issue