From 92f1314d940feb0afc5cbe7e681ac2599cd238e3 Mon Sep 17 00:00:00 2001 From: Robert Malikowski Date: Fri, 3 Jul 2026 17:55:06 +0200 Subject: [PATCH] reset filters after closing history modal --- .../coins_page/assets_history/assets_history_section.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/new-ui/widgets/coins_page/assets_history/assets_history_section.dart b/lib/new-ui/widgets/coins_page/assets_history/assets_history_section.dart index 8d5dfce09..79eb395f5 100644 --- a/lib/new-ui/widgets/coins_page/assets_history/assets_history_section.dart +++ b/lib/new-ui/widgets/coins_page/assets_history/assets_history_section.dart @@ -119,8 +119,8 @@ class _AssetsHistorySectionState extends State { ); } - void openHistoryModal(BuildContext context) { - CupertinoScaffold.showCupertinoModalBottomSheet( + Future openHistoryModal(BuildContext context) async { + await CupertinoScaffold.showCupertinoModalBottomSheet( context: context, builder: (context) => ModalNavigator( rootPage: Material( @@ -128,5 +128,6 @@ class _AssetsHistorySectionState extends State { child: HistoryModal(dashboardViewModel: widget.dashboardViewModel)), parentContext: context, )); + widget.dashboardViewModel.changeAllFilterItems(true); } }