fix
This commit is contained in:
parent
b33e65706b
commit
637e74e45b
1 changed files with 7 additions and 0 deletions
|
@ -302,6 +302,13 @@ class TransactionSelectPage extends StatelessWidget {
|
||||||
selectionList.add(s);
|
selectionList.add(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (selectionList.isEmpty) {
|
||||||
|
Navigator.of(context).pop();
|
||||||
|
ScaffoldMessenger.of(context).showSnackBar(
|
||||||
|
const SnackBar(content: Text('No Transactions to select')),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text("Select a Transaction"),
|
title: const Text("Select a Transaction"),
|
||||||
|
|
Loading…
Reference in a new issue