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

Commit a8c0edb8 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix 2143297: Fix transition from password -> visible password

parent f116bf88
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2884,6 +2884,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            setTransformationMethod(PasswordTransformationMethod.getInstance());
            setTypefaceByIndex(MONOSPACE, 0);
        } else if (isVisiblePassword) {
            if (mTransformation == PasswordTransformationMethod.getInstance()) {
                forceUpdate = true;
            }
            setTypefaceByIndex(MONOSPACE, 0);
        } else if (wasPassword || wasVisiblePassword) {
            // not in password mode, clean up typeface and transformation