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(); 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…
Cancel
Save