mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
reset filters after closing history modal
This commit is contained in:
@@ -119,8 +119,8 @@ class _AssetsHistorySectionState extends State<AssetsHistorySection> {
|
||||
);
|
||||
}
|
||||
|
||||
void openHistoryModal(BuildContext context) {
|
||||
CupertinoScaffold.showCupertinoModalBottomSheet(
|
||||
Future<void> openHistoryModal(BuildContext context) async {
|
||||
await CupertinoScaffold.showCupertinoModalBottomSheet(
|
||||
context: context,
|
||||
builder: (context) => ModalNavigator(
|
||||
rootPage: Material(
|
||||
@@ -128,5 +128,6 @@ class _AssetsHistorySectionState extends State<AssetsHistorySection> {
|
||||
child: HistoryModal(dashboardViewModel: widget.dashboardViewModel)),
|
||||
parentContext: context,
|
||||
));
|
||||
widget.dashboardViewModel.changeAllFilterItems(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user