Skip to content

Commit 15810e9

Browse files
committed
update method alphabetical order
1 parent 012d92d commit 15810e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -503,12 +503,6 @@ public int incrementAndGetEventCounter() {
503503
return ++mNativeEventCount;
504504
}
505505

506-
public void maybeSetTextFromJS(ReactTextUpdate reactTextUpdate) {
507-
mIsSettingTextFromJS = true;
508-
maybeSetText(reactTextUpdate);
509-
mIsSettingTextFromJS = false;
510-
}
511-
512506
/**
513507
* Attempt to set an error message or fail silently. EventCounter is the same one used as with
514508
* text.
@@ -523,6 +517,12 @@ public void maybeSetErrorMessage(int eventCounter, String errorMessage) {
523517
setError(errorMessage);
524518
}
525519

520+
public void maybeSetTextFromJS(ReactTextUpdate reactTextUpdate) {
521+
mIsSettingTextFromJS = true;
522+
maybeSetText(reactTextUpdate);
523+
mIsSettingTextFromJS = false;
524+
}
525+
526526
public void maybeSetTextFromState(ReactTextUpdate reactTextUpdate) {
527527
mIsSettingTextFromState = true;
528528
maybeSetText(reactTextUpdate);

0 commit comments

Comments
 (0)