diff --git a/lib/common/apifunctions/submit_receipt_api.dart b/lib/common/apifunctions/submit_receipt_api.dart index 92a13c8..d3a67c0 100644 --- a/lib/common/apifunctions/submit_receipt_api.dart +++ b/lib/common/apifunctions/submit_receipt_api.dart @@ -36,7 +36,7 @@ Future submitReceiptAPI( } else { final responseJson = json.decode(response.body); - + showDialogSingleButton( context, "Unable to Submit Receipt", diff --git a/lib/main.dart b/lib/main.dart index 1bf6840..2ee7835 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -15,9 +15,9 @@ class MyApp extends StatelessWidget { //var config = ConfigWrapper.of(context); return new MaterialApp( title: "Splash and Token Authentication", -// theme: new ThemeData( -// primarySwatch: config.production ? Colors.green : Colors.yellow, -// ), + theme: new ThemeData( + primarySwatch: Colors.blueGrey, + ), routes: { "/HomePage": (BuildContext context) => HomePage(), "/LoginPage": (BuildContext context) => LoginPage(), diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index a678e2a..93ae53e 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -28,12 +28,10 @@ class _HomePageState extends State { "Home Page", style: TextStyle(color: Colors.black), ), - backgroundColor: Colors.white, iconTheme: IconThemeData(color: Colors.black), elevation: Theme.of(context).platform == TargetPlatform.iOS ? 0.0 : 6.0, ), drawer: BasicDrawer(), - backgroundColor: Colors.white, body: Container( padding: EdgeInsets.all(32.0), child: Center( diff --git a/lib/pages/login_page.dart b/lib/pages/login_page.dart index f3f848e..4a3abb2 100644 --- a/lib/pages/login_page.dart +++ b/lib/pages/login_page.dart @@ -70,10 +70,8 @@ class LoginPageState extends State { ), ), centerTitle: true, - backgroundColor: Colors.white, iconTheme: IconThemeData(color: Colors.black), ), - backgroundColor: Colors.white, body: Container( child: Padding( padding: EdgeInsets.fromLTRB(30.0, 0.0, 30.0, 0.0), diff --git a/lib/pages/receipt_page.dart b/lib/pages/receipt_page.dart index cd9371e..c977d5b 100644 --- a/lib/pages/receipt_page.dart +++ b/lib/pages/receipt_page.dart @@ -73,10 +73,8 @@ class ReceiptPageState extends State { ), ), centerTitle: true, - backgroundColor: Colors.white, iconTheme: IconThemeData(color: Colors.black), ), - backgroundColor: Colors.white, body: Container( child: Padding( padding: EdgeInsets.fromLTRB(30.0, 0.0, 30.0, 0.0),