mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-30 14:20:47 +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 {
|
private class QuickAttachmentToggleListener implements OnClickListener {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
composeText.clearFocus();
|
if (!quickAttachmentDrawer.isShowing()) {
|
||||||
container.show(composeText, quickAttachmentDrawer);
|
composeText.clearFocus();
|
||||||
|
container.show(composeText, quickAttachmentDrawer);
|
||||||
|
} else {
|
||||||
|
container.hideAttachedInput(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user