Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e0467c2 authored by Dan Zivkovic's avatar Dan Zivkovic
Browse files

Fix accidentally inverted if check.

Change-Id: I9c28f4154f69c63564a2bda357c16cef4e68dc0d
parent c0eb5712
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -475,7 +475,7 @@ public final class InputLogic {
        handler.cancelUpdateSuggestionStrip();
        ++mAutoCommitSequenceNumber;
        mConnection.beginBatchEdit();
        if (!mWordComposer.isComposingWord()) {
        if (mWordComposer.isComposingWord()) {
            if (mWordComposer.isCursorFrontOrMiddleOfComposingWord()) {
                // If we are in the middle of a recorrection, we need to commit the recorrection
                // first so that we can insert the batch input at the current cursor position.