diff --git a/lib/pages/transaction.dart b/lib/pages/transaction.dart index 1d3b39f..942d683 100644 --- a/lib/pages/transaction.dart +++ b/lib/pages/transaction.dart @@ -302,6 +302,13 @@ class TransactionSelectPage extends StatelessWidget { selectionList.add(s); } + if (selectionList.isEmpty) { + Navigator.of(context).pop(); + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar(content: Text('No Transactions to select')), + ); + } + return Scaffold( appBar: AppBar( title: const Text("Select a Transaction"),