mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 18:13:24 +02:00
Added LanguageTool option
This commit is contained in:
@@ -1871,9 +1871,12 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
bottom_navigation.findViewById(R.id.action_save).setOnLongClickListener(new View.OnLongClickListener() {
|
||||
@Override
|
||||
public boolean onLongClick(View view) {
|
||||
onLanguageTool();
|
||||
return true;
|
||||
public boolean onLongClick(View v) {
|
||||
if (LanguageTool.isEnabled(v.getContext())) {
|
||||
onLanguageTool();
|
||||
return true;
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user