bug when importing config while service is not running

This commit is contained in:
jens committed 2022-05-08 14:50:40 +02:00
1 parent d5ce04f80b
commit 9fce7d987e
2 files changed
+2 -2

No files matched your search

@@ -224,7 +224,7 @@ public class ActivityControlCenter extends Activity
Settings.readFromPersistentStorage(ActivityControlCenter.this);
AutomationService service = AutomationService.getInstance();
if(service != null)
if(service != null && service.isRunning)
service.applySettingsAndRules();
}
else