1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-27 16:33:47 +00:00

Small fix

This commit is contained in:
M66B 2019-12-12 14:52:45 +01:00
parent e6fae9b076
commit 511de8aca4
4 changed files with 5 additions and 3 deletions

View file

@ -355,6 +355,8 @@ public class FragmentAccount extends FragmentBase {
Helper.linkPro(tvNotifyPro);
etInterval.setHint(Integer.toString(EntityAccount.DEFAULT_KEEP_ALIVE_INTERVAL));
btnCheck.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

View file

@ -156,6 +156,8 @@ public class FragmentPop extends FragmentBase {
}
});
etInterval.setHint(Integer.toString(EntityAccount.DEFAULT_POLL_INTERVAL));
btnSave.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
@ -245,7 +247,7 @@ public class FragmentPop extends FragmentBase {
if (synchronize && TextUtils.isEmpty(password) && !insecure)
throw new IllegalArgumentException(context.getString(R.string.title_no_password));
if (TextUtils.isEmpty(interval))
interval = Integer.toString(EntityAccount.DEFAULT_KEEP_ALIVE_INTERVAL);
interval = Integer.toString(EntityAccount.DEFAULT_POLL_INTERVAL);
if (TextUtils.isEmpty(name))
name = user;

View file

@ -457,7 +457,6 @@
android:id="@+id/etInterval"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="19"
android:inputType="number"
android:maxLength="9"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"

View file

@ -293,7 +293,6 @@
android:id="@+id/etInterval"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="19"
android:inputType="number"
android:maxLength="9"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"