WIP
This commit is contained in:
parent
f36fca0bba
commit
ffd9e65aa4
|
@ -237,32 +237,28 @@ class StorageUtil {
|
||||||
String get deviceDescription => _deviceDescription ?? '';
|
String get deviceDescription => _deviceDescription ?? '';
|
||||||
set deviceDescription(String value) {
|
set deviceDescription(String value) {
|
||||||
_deviceDescription = value;
|
_deviceDescription = value;
|
||||||
_secureStorage.set(
|
_secureStorage.set('fre_deviceDescription', value, (v) => _deviceDescription = v);
|
||||||
'fre_deviceDescription', value, (v) => _deviceDescription = v);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
BuildContext? _context;
|
BuildContext? _context;
|
||||||
BuildContext? get context => _context;
|
BuildContext? get context => _context;
|
||||||
set context(BuildContext? value) {
|
set context(BuildContext? value) {
|
||||||
_context = value;
|
_context = value;
|
||||||
_secureStorage.set(
|
_secureStorage.set('fre_context', value.toString(), (v) => _context = value);
|
||||||
'fre_context', value.toString(), (v) => _context = value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool _haveLocal = false;
|
bool _haveLocal = false;
|
||||||
bool get haveLocal => _haveLocal;
|
bool get haveLocal => _haveLocal;
|
||||||
set haveLocal(bool value) {
|
set haveLocal(bool value) {
|
||||||
_haveLocal = value;
|
_haveLocal = value;
|
||||||
_secureStorage.set(
|
_secureStorage.set('fre_have_local', value ?? false, (v) => _haveLocal = value);
|
||||||
'fre_have_local', value ?? false, (v) => _haveLocal = value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String? _fingerprintPass;
|
String? _fingerprintPass;
|
||||||
String get fingerprintPass => _fingerprintPass ?? '';
|
String get fingerprintPass => _fingerprintPass ?? '';
|
||||||
set fingerprintPass(String value) {
|
set fingerprintPass(String value) {
|
||||||
_fingerprintPass = value;
|
_fingerprintPass = value;
|
||||||
_secureStorage.set(
|
_secureStorage.set('fre_fingerprintPass', value, (v) => _fingerprintPass = v);
|
||||||
'fre_fingerprintPass', value, (v) => _fingerprintPass = v);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
String? _accessPass;
|
String? _accessPass;
|
||||||
|
|
Loading…
Reference in New Issue