Hide inline attachment button when attachment present.
This commit is contained in:
parent
a6473bc922
commit
3c6b8bcf9b
1 changed files with 6 additions and 1 deletions
|
@ -1903,7 +1903,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||||
} else {
|
} else {
|
||||||
buttonToggle.display(sendButton);
|
buttonToggle.display(sendButton);
|
||||||
quickAttachmentToggle.hide();
|
quickAttachmentToggle.hide();
|
||||||
|
|
||||||
|
if (!attachmentManager.isAttachmentPresent()) {
|
||||||
inlineAttachmentToggle.show();
|
inlineAttachmentToggle.show();
|
||||||
|
} else {
|
||||||
|
inlineAttachmentToggle.hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue