Another case of the Settings singleton

This commit is contained in:
Vishesh Handa
2020-09-25 01:07:35 +02:00
parent b72e4719d2
commit 15c5d5e422

View File

@ -141,7 +141,7 @@ class StateContainer with ChangeNotifier {
} }
Future<void> _syncNotes() async { Future<void> _syncNotes() async {
var freq = Settings.instance.remoteSyncFrequency; var freq = settings.remoteSyncFrequency;
if (freq != RemoteSyncFrequency.Automatic) { if (freq != RemoteSyncFrequency.Automatic) {
return; return;
} }