commit a0400270c12276f6139a760579e6f582178c5855
parent b0f4f75a489716ae140057ce793a6a35e3c0abe9
Author: Marcel <mtrnord1@gmail.com>
Date: Fri, 21 Feb 2020 19:18:54 +0100
Add primary and accent color and add .debug to the debug version application ID
Diffstat:
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/android/app/build.gradle b/android/app/build.gradle
@@ -37,7 +37,6 @@ android {
}
defaultConfig {
- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "de.bahnhoefe.deutschlands.bahnhofsfotos"
minSdkVersion 16
targetSdkVersion 29
@@ -52,6 +51,9 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
+ debug {
+ applicationIdSuffix '.debug'
+ versionNameSuffix "-debug"
}
}
diff --git a/lib/main.dart b/lib/main.dart
@@ -9,7 +9,8 @@ class MyApp extends StatelessWidget {
return MaterialApp(
title: 'Bahnhofsfotos',
theme: ThemeData(
- primarySwatch: Colors.blue,
+ primaryColor: Color(0xffc71c4d),
+ accentColor: Color(0xffD0C332),
),
home: Container(),
);