diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java
index e1e264155a..5a9d074a6f 100644
--- a/app/src/main/java/eu/faircode/email/FragmentAccount.java
+++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java
@@ -117,6 +117,7 @@ public class FragmentAccount extends FragmentBase {
private TextView tvLeave;
private CheckBox cbPrimary;
private CheckBox cbNotify;
+ private TextView tvNotifyRemark;
private TextView tvNotifyPro;
private CheckBox cbBrowse;
private CheckBox cbAutoSeen;
@@ -226,6 +227,7 @@ public class FragmentAccount extends FragmentBase {
tvLeave = view.findViewById(R.id.tvLeave);
cbPrimary = view.findViewById(R.id.cbPrimary);
cbNotify = view.findViewById(R.id.cbNotify);
+ tvNotifyRemark = view.findViewById(R.id.tvNotifyRemark);
tvNotifyPro = view.findViewById(R.id.tvNotifyPro);
cbBrowse = view.findViewById(R.id.cbBrowse);
cbAutoSeen = view.findViewById(R.id.cbAutoSeen);
@@ -459,9 +461,17 @@ public class FragmentAccount extends FragmentBase {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
Helper.hide(cbNotify);
+ Helper.hide(tvNotifyRemark);
Helper.hide(view.findViewById(R.id.tvNotifyPro));
}
+ tvNotifyRemark.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Helper.viewFAQ(v.getContext(), 145);
+ }
+ });
+
Helper.linkPro(tvNotifyPro);
etInterval.setHint(Integer.toString(EntityAccount.DEFAULT_KEEP_ALIVE_INTERVAL));
diff --git a/app/src/main/res/layout/fragment_account.xml b/app/src/main/res/layout/fragment_account.xml
index 2dd754a64d..4e76b78df4 100644
--- a/app/src/main/res/layout/fragment_account.xml
+++ b/app/src/main/res/layout/fragment_account.xml
@@ -524,6 +524,20 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cbPrimary" />
+
+
+ app:layout_constraintTop_toBottomOf="@id/tvNotifyRemark" />
None
Allow insecure connections
Insecure connections should only be allowed on trusted networks and never on public networks
+ You can enable this for account specific notifications
Port number
User name
Password