From 2edfc75c8a379eb5f531db37c4026578d9dfe1dd Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Tue, 6 Sep 2022 08:18:07 -0500 Subject: [PATCH] Fixed sliverappbar icon color to conform with theming --- mobile/ios/Flutter/AppFrameworkInfo.plist | 2 +- mobile/ios/Podfile.lock | 2 +- .../lib/modules/home/ui/immich_sliver_appbar.dart | 13 ++++++++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/mobile/ios/Flutter/AppFrameworkInfo.plist b/mobile/ios/Flutter/AppFrameworkInfo.plist index 8d4492f977..9625e105df 100644 --- a/mobile/ios/Flutter/AppFrameworkInfo.plist +++ b/mobile/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 9.0 + 11.0 diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lock index 0bc7850eb6..7310ec8756 100644 --- a/mobile/ios/Podfile.lock +++ b/mobile/ios/Podfile.lock @@ -84,7 +84,7 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/wakelock/ios" SPEC CHECKSUMS: - Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a + Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854 flutter_udid: 0848809dbed4c055175747ae6a45a8b4f6771e1c fluttertoast: 16fbe6039d06a763f3533670197d01fc73459037 FMDB: 2ce00b547f966261cd18927a3ddb07cb6f3db82a diff --git a/mobile/lib/modules/home/ui/immich_sliver_appbar.dart b/mobile/lib/modules/home/ui/immich_sliver_appbar.dart index cc50af8a5f..00a5b19d52 100644 --- a/mobile/lib/modules/home/ui/immich_sliver_appbar.dart +++ b/mobile/lib/modules/home/ui/immich_sliver_appbar.dart @@ -42,9 +42,10 @@ class ImmichSliverAppBar extends ConsumerWidget { top: 5, child: IconButton( splashRadius: 25, - icon: const Icon( + icon: Icon( Icons.face_outlined, size: 30, + color: Theme.of(context).primaryColor, ), onPressed: () { Scaffold.of(context).openDrawer(); @@ -109,7 +110,10 @@ class ImmichSliverAppBar extends ConsumerWidget { splashRadius: 25, iconSize: 30, icon: isEnableAutoBackup - ? const Icon(Icons.backup_rounded) + ? Icon( + Icons.backup_rounded, + color: Theme.of(context).primaryColor, + ) : Badge( padding: const EdgeInsets.all(4), elevation: 3, @@ -120,7 +124,10 @@ class ImmichSliverAppBar extends ConsumerWidget { size: 8, color: Colors.indigo, ), - child: const Icon(Icons.backup_rounded), + child: Icon( + Icons.backup_rounded, + color: Theme.of(context).primaryColor, + ), ), onPressed: () async { var onPop = await AutoRouter.of(context)