switch to new image api strat and fix onboarding cache strat

This commit is contained in:
yaso 2026-07-07 14:30:58 +02:00
parent 48b434dad9
commit a5bdee892c
39 changed files with 540 additions and 791 deletions

View file

@ -64,10 +64,16 @@ class MzansiWalletProvider extends ChangeNotifier {
loadCachedWallet();
}
Future<void> clearWalletCacheAndProvider() async {
await _hiveData.clearWalletCache();
reset();
}
void reset() {
toolIndex = 0;
loyaltyCards = [];
favouriteCards = [];
notifyListeners();
}
void setToolIndex(int index) {