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();
|
||||
}
|
||||
|
||||
if (!now) {
|
||||
ServiceSynchronize.reset(context);
|
||||
if (!now)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -350,10 +350,8 @@ public class FragmentFolders extends FragmentBase {
|
|||
db.endTransaction();
|
||||
}
|
||||
|
||||
if (!now) {
|
||||
ServiceSynchronize.reset(context);
|
||||
if (!now)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -660,10 +660,8 @@ public class FragmentMessages extends FragmentBase {
|
|||
db.endTransaction();
|
||||
}
|
||||
|
||||
if (!now) {
|
||||
ServiceSynchronize.reset(context);
|
||||
if (!now)
|
||||
throw new IllegalArgumentException(context.getString(R.string.title_no_connection));
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue