mirror of https://github.com/M66B/FairEmail.git
Fixed force sync on expand, etc.
This commit is contained in:
parent
3b07e34c22
commit
8d4067d8e0
|
@ -500,7 +500,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||||
if (reload == null)
|
if (reload == null)
|
||||||
ServiceSynchronize.eval(context, "attachment");
|
ServiceSynchronize.eval(context, "attachment");
|
||||||
else
|
else
|
||||||
ServiceSynchronize.reload(context, reload, true, "attachment");
|
ServiceSynchronize.reload(context, reload, false, "attachment");
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -295,7 +295,7 @@ public class AdapterImage extends RecyclerView.Adapter<AdapterImage.ViewHolder>
|
||||||
if (reload == null)
|
if (reload == null)
|
||||||
ServiceSynchronize.eval(context, "image");
|
ServiceSynchronize.eval(context, "image");
|
||||||
else
|
else
|
||||||
ServiceSynchronize.reload(context, reload, true, "image");
|
ServiceSynchronize.reload(context, reload, false, "image");
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -516,7 +516,7 @@ public class FragmentAccounts extends FragmentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (force || reload)
|
if (force || reload)
|
||||||
ServiceSynchronize.reload(context, null, true, "refresh");
|
ServiceSynchronize.reload(context, null, force, "refresh");
|
||||||
else
|
else
|
||||||
ServiceSynchronize.eval(context, "refresh");
|
ServiceSynchronize.eval(context, "refresh");
|
||||||
|
|
||||||
|
|
|
@ -600,7 +600,7 @@ public class FragmentFolders extends FragmentBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (force || reload)
|
if (force || reload)
|
||||||
ServiceSynchronize.reload(context, null, true, "refresh");
|
ServiceSynchronize.reload(context, null, force, "refresh");
|
||||||
else
|
else
|
||||||
ServiceSynchronize.eval(context, "refresh");
|
ServiceSynchronize.eval(context, "refresh");
|
||||||
|
|
||||||
|
|
|
@ -2386,7 +2386,7 @@ public class FragmentMessages extends FragmentBase
|
||||||
}
|
}
|
||||||
|
|
||||||
if (force || reload)
|
if (force || reload)
|
||||||
ServiceSynchronize.reload(context, null, true, "refresh");
|
ServiceSynchronize.reload(context, null, force, "refresh");
|
||||||
else
|
else
|
||||||
ServiceSynchronize.eval(context, "refresh");
|
ServiceSynchronize.eval(context, "refresh");
|
||||||
|
|
||||||
|
@ -7660,7 +7660,7 @@ public class FragmentMessages extends FragmentBase
|
||||||
if (reload == null)
|
if (reload == null)
|
||||||
ServiceSynchronize.eval(context, "expand");
|
ServiceSynchronize.eval(context, "expand");
|
||||||
else
|
else
|
||||||
ServiceSynchronize.reload(context, reload, true, "expand");
|
ServiceSynchronize.reload(context, reload, false, "expand");
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue