diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java index 82a52ccf3c..b8c69cad85 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java @@ -115,6 +115,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc private SwitchCompat swExternalAnswer; private SwitchCompat swShortcuts; private SwitchCompat swICalTentative; + private ImageButton ibICalTentative; private SwitchCompat swFts; private SwitchCompat swClassification; private TextView tvClassMinProbability; @@ -383,6 +384,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc swExternalAnswer = view.findViewById(R.id.swExternalAnswer); swShortcuts = view.findViewById(R.id.swShortcuts); swICalTentative = view.findViewById(R.id.swICalTentative); + ibICalTentative = view.findViewById(R.id.ibICalTentative); swFts = view.findViewById(R.id.swFts); swClassification = view.findViewById(R.id.swClassification); ibClassification = view.findViewById(R.id.ibClassification); @@ -618,6 +620,13 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc } }); + ibICalTentative.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + Helper.viewFAQ(v.getContext(), 186); + } + }); + swFts.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 5ac084ce9e..0f766b1df1 100644 --- a/app/src/main/res/layout/fragment_options_misc.xml +++ b/app/src/main/res/layout/fragment_options_misc.xml @@ -168,6 +168,18 @@ app:layout_constraintTop_toBottomOf="@id/tvShortcutsHint" app:switchPadding="12dp" /> + +