From 74082df55a45c47bf026d73a3a258ba3eaf917b2 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 13 Oct 2018 07:18:26 +0000 Subject: [PATCH] Default keep alive each 9 minutes --- app/src/main/java/eu/faircode/email/FragmentAccount.java | 2 +- app/src/main/res/layout/fragment_account.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentAccount.java b/app/src/main/java/eu/faircode/email/FragmentAccount.java index 9a769c19..facdf702 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAccount.java +++ b/app/src/main/java/eu/faircode/email/FragmentAccount.java @@ -626,7 +626,7 @@ public class FragmentAccount extends FragmentEx { if (TextUtils.isEmpty(password)) throw new Throwable(getContext().getString(R.string.title_no_password)); if (TextUtils.isEmpty(interval)) - interval = "12"; + interval = "9"; if (synchronize && drafts == null) throw new Throwable(getContext().getString(R.string.title_no_drafts)); if (Color.TRANSPARENT == color) diff --git a/app/src/main/res/layout/fragment_account.xml b/app/src/main/res/layout/fragment_account.xml index 43996047..8c581b24 100644 --- a/app/src/main/res/layout/fragment_account.xml +++ b/app/src/main/res/layout/fragment_account.xml @@ -334,7 +334,7 @@ android:id="@+id/etInterval" android:layout_width="match_parent" android:layout_height="wrap_content" - android:hint="12" + android:hint="9" android:inputType="number" android:textAppearance="@style/TextAppearance.AppCompat.Medium" app:layout_constraintStart_toStartOf="parent"