Enable remote fetch

This commit is contained in:
Neeraj Gupta 2024-05-20 17:29:09 +05:30
parent 93473ebd12
commit ee7c1bafc3

View file

@ -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);
}