Skip to content

Commit

Permalink
Fix capitalization on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
koke committed Dec 21, 2018
1 parent 8a4d564 commit ea812b6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ea812b6

Please sign in to comment.