Enable remote fetch
This commit is contained in:
parent
93473ebd12
commit
ee7c1bafc3
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class LocalSettings {
|
|||
|
||||
//#region todo:(NG) remove this section, only needed for internal testing to see
|
||||
// if the OS stops the app during indexing
|
||||
bool get remoteFetchEnabled => _prefs.getBool("remoteFetchEnabled") ?? false;
|
||||
bool get remoteFetchEnabled => _prefs.getBool("remoteFetchEnabled") ?? true;
|
||||
Future<void> toggleRemoteFetch() async {
|
||||
await _prefs.setBool("remoteFetchEnabled", !remoteFetchEnabled);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue