Skip to content
Snippets Groups Projects
Commit fc04c400 authored by igorwork's avatar igorwork Committed by Markin Igor
Browse files

Update name and colors

parent 84e354b1
No related branches found
No related tags found
1 merge request!1Mobile app initial implementation.
......@@ -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"
......
......@@ -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>
......
......@@ -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,
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment