From 8eb4da34d431bbcbff0051c30ad8b4e0b32aaf9e Mon Sep 17 00:00:00 2001 From: jubb Date: Wed, 30 Jun 2021 14:58:27 +1000 Subject: [PATCH] fix: capitalize sentences --- .../securesms/conversation/v2/input_bar/InputBar.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt index 31be742776..d77a17efca 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/input_bar/InputBar.kt @@ -2,6 +2,7 @@ package org.thoughtcrime.securesms.conversation.v2.input_bar import android.content.Context import android.content.res.Resources +import android.text.InputType import android.util.AttributeSet import android.view.LayoutInflater import android.view.MotionEvent @@ -65,6 +66,7 @@ class InputBar : RelativeLayout, InputBarEditTextDelegate, QuoteViewDelegate, Li sendButton.onUp = { delegate?.sendMessage() } // Edit text inputBarEditText.imeOptions = inputBarEditText.imeOptions or 16777216 // Always use incognito keyboard + inputBarEditText.inputType = inputBarEditText.inputType or InputType.TYPE_TEXT_FLAG_CAP_SENTENCES inputBarEditText.delegate = this } // endregion