diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java index 1119e901fe..34f97f6227 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java @@ -109,6 +109,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc private ImageButton ibResetLanguage; private SwitchCompat swDeepL; private ImageButton ibDeepL; + private TextView tvSdcard; private SwitchCompat swWatchdog; private SwitchCompat swUpdates; private SwitchCompat swCheckWeekly; @@ -241,6 +242,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc ibResetLanguage = view.findViewById(R.id.ibResetLanguage); swDeepL = view.findViewById(R.id.swDeepL); ibDeepL = view.findViewById(R.id.ibDeepL); + tvSdcard = view.findViewById(R.id.tvSdcard); swWatchdog = view.findViewById(R.id.swWatchdog); swUpdates = view.findViewById(R.id.swUpdates); swCheckWeekly = view.findViewById(R.id.swWeekly); @@ -516,6 +518,14 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc } }); + tvSdcard.setPaintFlags(tvSdcard.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG); + tvSdcard.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Helper.viewFAQ(v.getContext(), 93); + } + }); + swWatchdog.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton compoundButton, boolean checked) { diff --git a/app/src/main/res/layout/fragment_options_misc.xml b/app/src/main/res/layout/fragment_options_misc.xml index 39765dac39..b0082d7f5c 100644 --- a/app/src/main/res/layout/fragment_options_misc.xml +++ b/app/src/main/res/layout/fragment_options_misc.xml @@ -318,6 +318,20 @@ app:layout_constraintTop_toBottomOf="@id/swDeepL" app:srcCompat="@drawable/twotone_info_24" /> + + Language System DeepL integration + I want to use an sdcard Periodically check if FairEmail is still active Check for GitHub updates Check weekly instead of daily