mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
End icon mode cannot be changed dynamically
Due to a 2 year old bug in material components: https://github.com/material-components/material-components-android/issues/503
This commit is contained in:
@@ -192,8 +192,9 @@ public class FragmentPop extends FragmentBase {
|
||||
|
||||
@Override
|
||||
public void onTextChanged(CharSequence s, int start, int before, int count) {
|
||||
if (TextUtils.isEmpty(s))
|
||||
tilPassword.setEndIconMode(END_ICON_PASSWORD_TOGGLE);
|
||||
// https://github.com/material-components/material-components-android/issues/503
|
||||
//if (TextUtils.isEmpty(s))
|
||||
// tilPassword.setEndIconMode(END_ICON_PASSWORD_TOGGLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user