sign in with pocketbase working

This commit is contained in:
davmar
2026-09-09 19:59:38 +02:00
parent ae464ff304
commit c6d1fdb19e
27 changed files with 1267 additions and 312 deletions
+10
View File
@@ -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;