diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 1bbc27e3a3e12a4f87f601e3b3a233c368183d4c..6f77f5ef6b6c4cd1ca6981e55885be7a76d76e99 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -11,7 +11,7 @@ FlutterApplication and put your custom class here. --> <application android:name="io.flutter.app.FlutterApplication" - android:label="mobile_app" + android:label="Vereign" android:icon="@mipmap/ic_launcher"> <activity android:name=".MainActivity" diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index fb612210a353dc3e8c33a56a54d24fdd416a2a68..13140d087056316ef93f0bb119ff9b650e3554be 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -4,6 +4,8 @@ <dict> <key>CFBundleDevelopmentRegion</key> <string>$(DEVELOPMENT_LANGUAGE)</string> + <key>CFBundleDisplayName</key> + <string>Vereign</string> <key>CFBundleExecutable</key> <string>$(EXECUTABLE_NAME)</string> <key>CFBundleIdentifier</key> @@ -11,7 +13,7 @@ <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> - <string>mobile_app</string> + <string>Vereign</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> @@ -31,15 +33,15 @@ </array> </dict> <dict> - <key>CFBundleTypeRole</key> - <string>Editor</string> - <key>CFBundleURLName</key> - <string>com.vereign.app/authorize</string> - <key>CFBundleURLSchemes</key> - <array> - <string>app</string> - </array> - </dict> + <key>CFBundleTypeRole</key> + <string>Editor</string> + <key>CFBundleURLName</key> + <string>com.vereign.app/authorize</string> + <key>CFBundleURLSchemes</key> + <array> + <string>app</string> + </array> + </dict> </array> <key>CFBundleVersion</key> <string>$(FLUTTER_BUILD_NUMBER)</string> diff --git a/lib/app.dart b/lib/app.dart index 103c987b3b80a463cc493f14cf748c747e75cac9..479093d5a327688153d26e503ab757ffaf8a59a9 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -77,13 +77,13 @@ class _AppState extends State<App> { return MaterialApp( title: 'Vereign', theme: ThemeData( - primarySwatch: Colors.blue, + primaryColor: Color(0xFFd51d32), fontFamily: "Arial", textTheme: TextTheme( button: TextStyle(color: Colors.white, fontSize: 18.0), - title: TextStyle(color: Colors.red))), + title: TextStyle(color: Colors.white))), home: new Scaffold( - appBar: new AppBar(), + appBar: new AppBar(title: Text("Vereign")), body: Home( mode: _appMode, invokerURL: _invokerURL, diff --git a/lib/screens/home.dart b/lib/screens/home.dart index 3d1568027d6005b4d74b819a2f91b33a5c77960b..1e02d1a8f162f36fbd941cde33ed93cf623f8fe4 100644 --- a/lib/screens/home.dart +++ b/lib/screens/home.dart @@ -84,7 +84,7 @@ class _HomeState extends State<Home> { } openVereign() { - FlutterWebBrowser.openWebPage(url: 'https://gospodinbodurov.dev.vereign.com', androidToolbarColor: Colors.deepPurple); + FlutterWebBrowser.openWebPage(url: 'https://gospodinbodurov.dev.vereign.com', androidToolbarColor: Color(0xFFd51d32)); } startOAuth() { @@ -117,7 +117,7 @@ class _HomeState extends State<Home> { crossAxisAlignment: CrossAxisAlignment.stretch, // children: _links.map((link) => _urlButton(context, link)).toList(), children: <Widget>[ - _urlButton(context, _links[0], "Open Vereign", openVereign), + _urlButton(context, _links[0], "Open Dashboard", openVereign), _urlButton(context, _links[1], "Authorize with Vereign", startOAuth), ] )))); @@ -127,6 +127,7 @@ class _HomeState extends State<Home> { padding: EdgeInsets.all(20.0), child: FlatButton( color: Theme.of(context).primaryColor, + textColor: Colors.white, padding: const EdgeInsets.symmetric(horizontal: 50.0, vertical: 15.0), child: Text(title), onPressed: listener