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

Commit de251d97 authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi
Browse files

Fix: SpellChecker subtype label cannot be updated.

"Use system languages" is always displayed independent from the
selected value.
This happens due to inverted if-condition that has been introduced in
I0ed71bbb580e3547d97e321799ac2b77b1f284a3

Bug: 28204608
Change-Id: I9f0390242cb5ed4960c06eb3d0a4ade7a66143a5
parent 490e40ec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ public class SpellCheckersSettings extends SettingsPreferenceFragment
        mSwitchBar.setChecked(isSpellCheckerEnabled);

        final SpellCheckerSubtype currentScs;
        if (mCurrentSci == null) {
        if (mCurrentSci != null) {
            currentScs = mTsm.getCurrentSpellCheckerSubtype(
                    false /* allowImplicitlySelectedSubtype */);
        } else {