mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Another case of the Settings singleton
This commit is contained in:
@ -141,7 +141,7 @@ class StateContainer with ChangeNotifier {
|
||||
}
|
||||
|
||||
Future<void> _syncNotes() async {
|
||||
var freq = Settings.instance.remoteSyncFrequency;
|
||||
var freq = settings.remoteSyncFrequency;
|
||||
if (freq != RemoteSyncFrequency.Automatic) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user