mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-17 12:48:26 +00:00
when camera preview is open, the preview toggle button will close the preview
closes #3574
This commit is contained in:
parent
6c20a4c08b
commit
149ac9f417
@ -1370,8 +1370,12 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
private class QuickAttachmentToggleListener implements OnClickListener {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
composeText.clearFocus();
|
||||
container.show(composeText, quickAttachmentDrawer);
|
||||
if (!quickAttachmentDrawer.isShowing()) {
|
||||
composeText.clearFocus();
|
||||
container.show(composeText, quickAttachmentDrawer);
|
||||
} else {
|
||||
container.hideAttachedInput(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user