mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Fix enter key send with attachments.
This commit is contained in:
committed by
Michelle Tang
parent
4a99d468c7
commit
a0997e6a87
@@ -227,6 +227,7 @@ public class ComposeText extends EmojiEditText {
|
||||
|
||||
if (SignalStore.settings().isEnterKeySends()) {
|
||||
editorInfo.imeOptions &= ~EditorInfo.IME_FLAG_NO_ENTER_ACTION;
|
||||
editorInfo.inputType &= ~EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE;
|
||||
}
|
||||
|
||||
if (mediaListener == null) {
|
||||
|
||||
Reference in New Issue
Block a user