mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 14:18:34 +00:00
Hide attachment keyboard after selecting an action.
This commit is contained in:
parent
6465248483
commit
82446ce30a
@ -850,6 +850,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
public void onAttachmentMediaClicked(@NonNull Media media) {
|
||||
linkPreviewViewModel.onUserCancel();
|
||||
startActivityForResult(MediaSendActivity.buildEditorIntent(ConversationActivity.this, Collections.singletonList(media), recipient.get(), composeText.getTextTrimmed(), sendButton.getSelectedTransport()), MEDIA_SENDER);
|
||||
container.hideCurrentInput(composeText);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -871,8 +872,8 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
AttachmentManager.selectLocation(this, PICK_LOCATION);
|
||||
break;
|
||||
}
|
||||
// TODO [greyson] [attachment] Add these
|
||||
// attachmentManager.capturePhoto(this, TAKE_PHOTO); break;
|
||||
|
||||
container.hideCurrentInput(composeText);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user