mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-07 23:16:37 +00:00
Cleanup
This commit is contained in:
parent
d81a61a3f6
commit
0db25f9e6b
1 changed files with 0 additions and 4 deletions
|
@ -188,10 +188,6 @@ public class EditTextCompose extends FixedEditText {
|
|||
boolean selection = (start >= 0 && start < end);
|
||||
Context context = getContext();
|
||||
Editable edit = getText();
|
||||
SuggestionSpanEx[] suggestion = (edit == null ? null
|
||||
: edit.getSpans(start, end, SuggestionSpanEx.class));
|
||||
boolean hasSuggestions = (suggestion != null && suggestion.length > 0 &&
|
||||
!TextUtils.isEmpty(suggestion[0].getDescription()));
|
||||
boolean dictionary = (selection &&
|
||||
context instanceof AppCompatActivity &&
|
||||
LanguageTool.isPremium(context) &&
|
||||
|
|
Loading…
Reference in a new issue