mirror of https://github.com/M66B/FairEmail.git
Sync without reset
This commit is contained in:
parent
f9880b5a0d
commit
9b0434a8e2
|
@ -456,10 +456,8 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
|
||||||
db.endTransaction();
|
db.endTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!now) {
|
if (!now)
|
||||||
ServiceSynchronize.reset(context);
|
|
||||||
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -350,10 +350,8 @@ public class FragmentFolders extends FragmentBase {
|
||||||
db.endTransaction();
|
db.endTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!now) {
|
if (!now)
|
||||||
ServiceSynchronize.reset(context);
|
|
||||||
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -660,10 +660,8 @@ public class FragmentMessages extends FragmentBase {
|
||||||
db.endTransaction();
|
db.endTransaction();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!now) {
|
if (!now)
|
||||||
ServiceSynchronize.reset(context);
|
|
||||||
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue