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); } }