From ea812b62d91240b004b5df4e68757adb21b9794b Mon Sep 17 00:00:00 2001 From: Jorge Bernal Date: Fri, 21 Dec 2018 16:09:50 +0100 Subject: [PATCH] Fix capitalization on Android --- .../org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java b/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java index a9ea19d5b6..7563f511f8 100644 --- a/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java +++ b/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java @@ -4,6 +4,7 @@ import android.graphics.Rect; import android.support.annotation.Nullable; import android.text.Editable; +import android.text.InputType; import android.text.TextWatcher; import android.view.inputmethod.InputMethodManager; @@ -78,6 +79,7 @@ public void onSelectionChanged(int selStart, int selEnd) { ReactAztecText.this.propagateSelectionChanges(selStart, selEnd); } }); + this.setInputType(InputType.TYPE_TEXT_FLAG_CAP_SENTENCES); } @Override