♻️ Migrated to riverpod v3

This commit is contained in:
2025-12-06 13:00:30 +08:00
parent fd79c11d18
commit 9d03faf594
158 changed files with 6834 additions and 10357 deletions

View File

@@ -22,7 +22,7 @@ class ComposeFundSheet extends HookConsumerWidget {
final isPushing = useState(false);
final errorText = useState<String?>(null);
final fundsData = ref.watch(walletFundsNotifierProvider);
final fundsData = ref.watch(walletFundsProvider);
return SheetScaffold(
heightFactor: 0.6,
@@ -301,9 +301,7 @@ class ComposeFundSheet extends HookConsumerWidget {
await Future.delayed(
const Duration(seconds: 1),
);
ref.invalidate(
walletFundsNotifierProvider,
);
ref.invalidate(walletFundsProvider);
// Return the created fund
final updatedResp = await client.get(