diff --git a/lib/pages/receipt_page_2.dart b/lib/pages/receipt_page_2.dart index 162ac6b..83f5892 100644 --- a/lib/pages/receipt_page_2.dart +++ b/lib/pages/receipt_page_2.dart @@ -327,6 +327,8 @@ class ReceiptPage2State extends State { width: MediaQuery.of(context).size.width * 0.6, child: RaisedButton( onPressed: () { + transaction.recurring = _sampleRecurringOptions[0]; + setState(() {}); showModalBottomSheet( context: context, builder: (BuildContext builder) { @@ -395,6 +397,8 @@ class ReceiptPage2State extends State { message: "Category of transaction", child: RaisedButton( onPressed: () { + transaction.category = _categories[0]; + setState(() {}); showModalBottomSheet( context: context, builder: (BuildContext builder) {