mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-15 15:48:26 -04:00
Fix[input]: enforce non focusable when disabled
This commit is contained in:
parent
e264181356
commit
ef9d5e347c
@ -127,7 +127,6 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
|
||||
setFocusable(true);
|
||||
setVisibility(VISIBLE);
|
||||
requestFocus();
|
||||
|
||||
}
|
||||
|
||||
/** Lose ability to exist, take focus and have some text being input */
|
||||
@ -135,6 +134,7 @@ public class TouchCharInput extends androidx.appcompat.widget.AppCompatEditText
|
||||
clear();
|
||||
clearFocus();
|
||||
setEnabled(false);
|
||||
setFocusable(false);
|
||||
}
|
||||
|
||||
/** Send the enter key. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user