mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 09:16:19 +01:00
15 lines
424 B
Dart
15 lines
424 B
Dart
part of 'service.dart';
|
|
|
|
class ServiceConfig {
|
|
static Future<bool> isProcessExifWifiOnly() async {
|
|
return Preference.getBool(_pref, _prefProcessWifiOnly, true)
|
|
.notNull();
|
|
}
|
|
|
|
static Future<void> setProcessExifWifiOnly(bool flag) async {
|
|
await Preference.setBool(_pref, _prefProcessWifiOnly, flag);
|
|
}
|
|
|
|
static const _pref = "service";
|
|
static const _prefProcessWifiOnly = "shouldProcessWifiOnly";
|
|
}
|