mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Added synchronize on demand setting
This commit is contained in:
@@ -3202,7 +3202,7 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
}
|
||||
|
||||
// Start monitoring accounts
|
||||
List<EntityAccount> accounts = db.account().getAccounts(true);
|
||||
List<EntityAccount> accounts = db.account().getSynchronizingAccounts(false);
|
||||
for (final EntityAccount account : accounts) {
|
||||
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.O)
|
||||
if (account.notify)
|
||||
|
||||
Reference in New Issue
Block a user