diff --git a/lib/common/apifunctions/find_organisations.dart b/lib/common/apifunctions/find_organisations.dart index e51051e..4d441a3 100644 --- a/lib/common/apifunctions/find_organisations.dart +++ b/lib/common/apifunctions/find_organisations.dart @@ -24,7 +24,7 @@ class Organisation { class Organisations { List getTestData() { - var numItems = 200; + var numItems = 10; var itemsList = new List(); for (int i = 0; i < numItems; i++) { diff --git a/lib/pages/receipt_page_2.dart b/lib/pages/receipt_page_2.dart index 226e11a..0970062 100644 --- a/lib/pages/receipt_page_2.dart +++ b/lib/pages/receipt_page_2.dart @@ -36,16 +36,16 @@ class ReceiptPage2State extends State { return PlatformScaffold( appBar: AppBar( - backgroundColor: Colors.blue[400], - title: Text( - "Submit Receipt", - style: TextStyle( - fontSize: 20, - color: Colors.white, + backgroundColor: Colors.blue[400], + title: Text( + "Submit Receipt", + style: TextStyle( + fontSize: 20, + color: Colors.white, + ), ), - ), - centerTitle: true, - iconTheme: IconThemeData(color: Colors.black), + centerTitle: true, + iconTheme: IconThemeData(color: Colors.black), ), body: ListView( @@ -107,7 +107,7 @@ class ReceiptPage2State extends State { ), ); }); - },// onPressed: () => showDatePicker(context: context, initialDate: _transactionDate, firstDate: null, lastDate: _transactionDate), + }, child: Text( transaction.date == null ? 'None set.'