From 44d6510a77ab2cc0ddcf66a6a62523e06a1ca133 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 11 Apr 2023 16:37:50 -0600 Subject: [PATCH] refresh provider --- .../my_stack_view/wallet_view/desktop_token_view.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_token_view.dart b/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_token_view.dart index 469aeed71..a37572573 100644 --- a/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_token_view.dart +++ b/lib/pages_desktop_specific/my_stack_view/wallet_view/desktop_token_view.dart @@ -2,6 +2,7 @@ import 'package:event_bus/event_bus.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/svg.dart'; +import 'package:stackwallet/pages/send_view/sub_widgets/transaction_fee_selection_sheet.dart'; import 'package:stackwallet/pages/token_view/sub_widgets/token_summary.dart'; import 'package:stackwallet/pages/token_view/sub_widgets/token_transaction_list_widget.dart'; import 'package:stackwallet/pages/token_view/token_view.dart'; @@ -89,7 +90,10 @@ class _DesktopTokenViewState extends ConsumerState { .extension()! .topNavIconPrimary, ), - onPressed: Navigator.of(context).pop, + onPressed: () { + ref.refresh(feeSheetSessionCacheProvider); + Navigator.of(context).pop(); + }, ), const SizedBox( width: 15,