mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Prevent deletion of auto fixed addresses
This commit is contained in:
@@ -131,7 +131,8 @@ public class EditTextMultiAutoComplete extends AppCompatMultiAutoCompleteTextVie
|
||||
if (spans.length == 1) {
|
||||
int start = edit.getSpanStart(spans[0]);
|
||||
int end = edit.getSpanEnd(spans[0]);
|
||||
edit.delete(start, end);
|
||||
if (backspace > start)
|
||||
edit.delete(start, end);
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
Log.e(ex);
|
||||
|
||||
Reference in New Issue
Block a user