mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02: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