Skip to content

Commit

Permalink
Fix MessageList visibility when composing
Browse files Browse the repository at this point in the history
  • Loading branch information
moezbhatti committed Mar 29, 2020
1 parent 0f36c2c commit 057806e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -218,7 +218,7 @@ class ComposeActivity : QkThemedActivity(), ComposeView {
binding.sendAsGroup.setVisible(state.editingMode && state.selectedChips.size >= 2)
binding.sendAsGroupSwitch.isChecked = state.sendAsGroup

binding.messageList.setVisible(!state.editingMode || state.sendAsGroup)
binding.messageList.setVisible(!state.editingMode || state.sendAsGroup || state.selectedChips.size == 1)
messageAdapter.data = state.messages
messageAdapter.highlight = state.searchSelectionId

Expand Down

0 comments on commit 057806e

Please sign in to comment.