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