mirror of https://github.com/M66B/FairEmail.git
Easy correct is causing issues
This commit is contained in:
parent
0db25f9e6b
commit
0e71655c27
|
@ -36,7 +36,7 @@ public class SuggestionSpanEx extends SuggestionSpan {
|
||||||
public SuggestionSpanEx(Context context, String description, String[] suggestions, boolean misspelled) {
|
public SuggestionSpanEx(Context context, String description, String[] suggestions, boolean misspelled) {
|
||||||
super(context, suggestions,
|
super(context, suggestions,
|
||||||
misspelled || Build.VERSION.SDK_INT < Build.VERSION_CODES.S
|
misspelled || Build.VERSION.SDK_INT < Build.VERSION_CODES.S
|
||||||
? SuggestionSpan.FLAG_MISSPELLED | SuggestionSpan.FLAG_EASY_CORRECT
|
? SuggestionSpan.FLAG_MISSPELLED
|
||||||
: SuggestionSpan.FLAG_GRAMMAR_ERROR);
|
: SuggestionSpan.FLAG_GRAMMAR_ERROR);
|
||||||
this.description = description;
|
this.description = description;
|
||||||
highlightColor = Helper.resolveColor(context, android.R.attr.textColorHighlight);
|
highlightColor = Helper.resolveColor(context, android.R.attr.textColorHighlight);
|
||||||
|
|
Loading…
Reference in New Issue