From e14f55746ef144d0ab824a31e5da4c7135f94c32 Mon Sep 17 00:00:00 2001
From: poka <poka@p2p.legal>
Date: Sat, 6 Nov 2021 20:19:27 +0100
Subject: [PATCH] Fix appbar color

---
 android/app/src/main/AndroidManifest.xml                 | 9 ---------
 ...ntegration.dart => app_test_integration.dart.disable} | 0
 lib/main.dart                                            | 4 ++++
 pubspec.yaml                                             | 2 +-
 4 files changed, 5 insertions(+), 10 deletions(-)
 rename integration_test/{app_test_integration.dart => app_test_integration.dart.disable} (100%)

diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 36007613..f3664904 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -29,15 +29,6 @@
               android:name="io.flutter.embedding.android.NormalTheme"
               android:resource="@style/NormalTheme"
               />
-            <!-- Displays an Android View that continues showing the launch screen
-                 Drawable until Flutter paints its first frame, then this splash
-                 screen fades out. A splash screen is useful to avoid any visual
-                 gap between the end of Android's launch screen and the painting of
-                 Flutter's first frame. -->
-            <meta-data
-              android:name="io.flutter.embedding.android.SplashScreenDrawable"
-              android:resource="@drawable/launch_background"
-              />
             <intent-filter>
                 <action android:name="android.intent.action.MAIN"/>
                 <category android:name="android.intent.category.LAUNCHER"/>
diff --git a/integration_test/app_test_integration.dart b/integration_test/app_test_integration.dart.disable
similarity index 100%
rename from integration_test/app_test_integration.dart
rename to integration_test/app_test_integration.dart.disable
diff --git a/lib/main.dart b/lib/main.dart
index c106d405..6d930ec3 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -147,6 +147,10 @@ class Gecko extends StatelessWidget {
                 background: Container(color: Color(0xFFF5F5F5))),
             title: 'Äžecko',
             theme: ThemeData(
+              appBarTheme: AppBarTheme(
+                color: const Color(0xffFFD58D),
+                foregroundColor: const Color(0xFF000000),
+              ),
               primaryColor: Color(0xffFFD58D),
               textTheme: TextTheme(
                 bodyText1: TextStyle(),
diff --git a/pubspec.yaml b/pubspec.yaml
index 104c88ce..44020173 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -36,7 +36,7 @@ dependencies:
   pdf: ^3.5.0
   permission_handler: 8.1.6
   pin_code_fields: ^6.0.2
-  printing: ^5.5.0
+  printing: ^5.6.0
   provider: ^6.0.0
   qrscan: ^0.3.2
   responsive_builder: ^0.4.1
-- 
GitLab