mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Spellchecker workaround
This commit is contained in:
@@ -37,6 +37,15 @@ public class EditTextPlain extends FixedEditText {
|
||||
super(context, attrs, defStyleAttr);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onAttachedToWindow() {
|
||||
// Spellchecker workaround
|
||||
boolean enabled = isEnabled();
|
||||
super.setEnabled(true);
|
||||
super.onAttachedToWindow();
|
||||
super.setEnabled(enabled);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onTextContextMenuItem(int id) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user