mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-23 01:16:26 +00:00
Hide inline attachment button when attachment present.
This commit is contained in:
@@ -1903,7 +1903,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
} else {
|
} else {
|
||||||
buttonToggle.display(sendButton);
|
buttonToggle.display(sendButton);
|
||||||
quickAttachmentToggle.hide();
|
quickAttachmentToggle.hide();
|
||||||
inlineAttachmentToggle.show();
|
|
||||||
|
if (!attachmentManager.isAttachmentPresent()) {
|
||||||
|
inlineAttachmentToggle.show();
|
||||||
|
} else {
|
||||||
|
inlineAttachmentToggle.hide();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user