Hide inline attachment button when attachment present.

fork-5.53.8
Greyson Parrelli 2018-08-15 12:35:41 -07:00
rodzic a6473bc922
commit 3c6b8bcf9b
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -1903,7 +1903,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
} else {
buttonToggle.display(sendButton);
quickAttachmentToggle.hide();
inlineAttachmentToggle.show();
if (!attachmentManager.isAttachmentPresent()) {
inlineAttachmentToggle.show();
} else {
inlineAttachmentToggle.hide();
}
}
}