mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Use on demand sync when disabled
This commit is contained in:
@@ -310,7 +310,8 @@ public class ServiceUI extends IntentService {
|
||||
|
||||
public static void sync(Context context, long folder) {
|
||||
DB db = DB.getInstance(context);
|
||||
db.folder().setFolderSyncState(folder, "requested");
|
||||
db.folder().setFolderState(folder, "waiting");
|
||||
db.folder().setFolderSyncState(folder, "manual");
|
||||
|
||||
context.startService(
|
||||
new Intent(context, ServiceUI.class)
|
||||
|
||||
Reference in New Issue
Block a user