reset filters after closing history modal
Robert Malikowski committed
Jul 3, 2026 at 17:55 UTC
92f1314d940feb0afc5cbe7e681ac2599cd238e3
1 file changed
+3
-2
lib/new-ui/widgets/coins_page/assets_history/assets_history_section.dart
+3
-2
@@ -119,8 +119,8 @@ class _AssetsHistorySectionState extends State<AssetsHistorySection> {
119
);
120
}
121
122
- void openHistoryModal(BuildContext context) {
123
- CupertinoScaffold.showCupertinoModalBottomSheet(
122
+ Future<void> openHistoryModal(BuildContext context) async {
123
+ await CupertinoScaffold.showCupertinoModalBottomSheet(
124
context: context,
125
builder: (context) => ModalNavigator(
126
rootPage: Material(
@@ -128,5 +128,6 @@ class _AssetsHistorySectionState extends State<AssetsHistorySection> {
128
child: HistoryModal(dashboardViewModel: widget.dashboardViewModel)),
129
parentContext: context,
130
));
131
+ widget.dashboardViewModel.changeAllFilterItems(true);
132
}
133
}