Browse Source

Fixed sliverappbar icon color to conform with theming

Alex Tran 2 years ago
parent
commit
2edfc75c8a

+ 1 - 1
mobile/ios/Flutter/AppFrameworkInfo.plist

@@ -21,6 +21,6 @@
   <key>CFBundleVersion</key>
   <key>CFBundleVersion</key>
   <string>1.0</string>
   <string>1.0</string>
   <key>MinimumOSVersion</key>
   <key>MinimumOSVersion</key>
-  <string>9.0</string>
+  <string>11.0</string>
 </dict>
 </dict>
 </plist>
 </plist>

+ 1 - 1
mobile/ios/Podfile.lock

@@ -84,7 +84,7 @@ EXTERNAL SOURCES:
     :path: ".symlinks/plugins/wakelock/ios"
     :path: ".symlinks/plugins/wakelock/ios"
 
 
 SPEC CHECKSUMS:
 SPEC CHECKSUMS:
-  Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a
+  Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
   flutter_udid: 0848809dbed4c055175747ae6a45a8b4f6771e1c
   flutter_udid: 0848809dbed4c055175747ae6a45a8b4f6771e1c
   fluttertoast: 16fbe6039d06a763f3533670197d01fc73459037
   fluttertoast: 16fbe6039d06a763f3533670197d01fc73459037
   FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a
   FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a

+ 10 - 3
mobile/lib/modules/home/ui/immich_sliver_appbar.dart

@@ -42,9 +42,10 @@ class ImmichSliverAppBar extends ConsumerWidget {
                 top: 5,
                 top: 5,
                 child: IconButton(
                 child: IconButton(
                   splashRadius: 25,
                   splashRadius: 25,
-                  icon: const Icon(
+                  icon: Icon(
                     Icons.face_outlined,
                     Icons.face_outlined,
                     size: 30,
                     size: 30,
+                    color: Theme.of(context).primaryColor,
                   ),
                   ),
                   onPressed: () {
                   onPressed: () {
                     Scaffold.of(context).openDrawer();
                     Scaffold.of(context).openDrawer();
@@ -109,7 +110,10 @@ class ImmichSliverAppBar extends ConsumerWidget {
               splashRadius: 25,
               splashRadius: 25,
               iconSize: 30,
               iconSize: 30,
               icon: isEnableAutoBackup
               icon: isEnableAutoBackup
-                  ? const Icon(Icons.backup_rounded)
+                  ? Icon(
+                      Icons.backup_rounded,
+                      color: Theme.of(context).primaryColor,
+                    )
                   : Badge(
                   : Badge(
                       padding: const EdgeInsets.all(4),
                       padding: const EdgeInsets.all(4),
                       elevation: 3,
                       elevation: 3,
@@ -120,7 +124,10 @@ class ImmichSliverAppBar extends ConsumerWidget {
                         size: 8,
                         size: 8,
                         color: Colors.indigo,
                         color: Colors.indigo,
                       ),
                       ),
-                      child: const Icon(Icons.backup_rounded),
+                      child: Icon(
+                        Icons.backup_rounded,
+                        color: Theme.of(context).primaryColor,
+                      ),
                     ),
                     ),
               onPressed: () async {
               onPressed: () async {
                 var onPop = await AutoRouter.of(context)
                 var onPop = await AutoRouter.of(context)