mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 11:33:34 +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 {
|
Future<void> _syncNotes() async {
|
||||||
var freq = Settings.instance.remoteSyncFrequency;
|
var freq = settings.remoteSyncFrequency;
|
||||||
if (freq != RemoteSyncFrequency.Automatic) {
|
if (freq != RemoteSyncFrequency.Automatic) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user