forked from upstream-mirrors/quik
Merge pull request #305 from gavine99/hide-extra-controls-on-cant-reply-304-and-299
bug fix remove extraneous controls on compose (sim and mic) when no reply possible
This commit is contained in:
@@ -528,6 +528,8 @@ class ComposeActivity : QkThemedActivity(), ComposeView {
|
||||
// hide controls that allow constructing a reply and inform user no valid recipients
|
||||
if (!state.editingMode && (state.validRecipientNumbers == 0)) {
|
||||
composeBar.visibility = View.GONE
|
||||
sim.visibility = View.GONE
|
||||
recordAudioMsg.visibility = View.GONE
|
||||
noValidRecipients.visibility = View.VISIBLE
|
||||
|
||||
// change constraint of messageList to constrain bottom to top of noValidRecipients
|
||||
|
||||
Reference in New Issue
Block a user