From 166b206cd198f0e458ecd535046a66dae5f9fc78 Mon Sep 17 00:00:00 2001 From: Stefanos Togkoulidis Date: Thu, 25 Apr 2019 03:15:37 +0300 Subject: [PATCH] Remove temporary code --- .../org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/react-native-aztec/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java b/react-native-aztec/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java index d1fc6aef33..5fb2190727 100644 --- a/react-native-aztec/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java +++ b/react-native-aztec/android/src/main/java/org/wordpress/mobile/ReactNativeAztec/ReactAztecText.java @@ -361,10 +361,6 @@ private boolean onEnter(Spanned text, boolean firedAfterTextChanged, int selStar String content = toHtml(text, false); int cursorPositionStart = firedAfterTextChanged ? selStart : getSelectionStart(); int cursorPositionEnd = firedAfterTextChanged ? selEnd : getSelectionEnd(); -// if (firedAfterTextChanged) { -// cursorPositionStart--; -// cursorPositionEnd--; -// } enableTextChangedListener(); ReactContext reactContext = (ReactContext) getContext(); EventDispatcher eventDispatcher = reactContext.getNativeModule(UIManagerModule.class).getEventDispatcher();