diff --git a/lib/pages/home/transactions.dart b/lib/pages/home/transactions.dart index 3d6c49a8..754ab647 100644 --- a/lib/pages/home/transactions.dart +++ b/lib/pages/home/transactions.dart @@ -486,6 +486,9 @@ class _HomeTransactionsState extends State if (ok ?? false) { _rowsWithDate = []; _lastDate = null; + if (context.mounted) { + context.read().transStock!.clear(); + } _pagingController.refresh(); } }, @@ -650,6 +653,9 @@ class _HomeTransactionsState extends State if (refresh ?? false == true) { _rowsWithDate = []; _lastDate = null; + if (context.mounted) { + context.read().transStock!.clear(); + } _pagingController.refresh(); } },