sign in with pocketbase working
This commit is contained in:
@@ -125,6 +125,16 @@ class StorageService {
|
||||
return _prefs.setBool(StorageKeys.useRemoteData, value);
|
||||
}
|
||||
|
||||
String? get pocketBaseAuth => _prefs.getString(StorageKeys.pocketBaseAuth);
|
||||
|
||||
Future<void> setPocketBaseAuth(String value) {
|
||||
return _prefs.setString(StorageKeys.pocketBaseAuth, value);
|
||||
}
|
||||
|
||||
Future<void> clearPocketBaseAuth() {
|
||||
return _prefs.remove(StorageKeys.pocketBaseAuth);
|
||||
}
|
||||
|
||||
BankCache? loadBankCache() {
|
||||
final raw = _prefs.getString(StorageKeys.bankCache);
|
||||
if (raw == null || raw.isEmpty) return null;
|
||||
|
||||
Reference in New Issue
Block a user