Sync without reset

pull/154/head
M66B 6 years ago
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…
Cancel
Save