1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

Fixed sliverappbar icon color to conform with theming

This commit is contained in:
Alex Tran 2022-09-06 08:18:07 -05:00
parent 4c977d2c1f
commit 2edfc75c8a
3 changed files with 12 additions and 5 deletions

View file

@ -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>

View file

@ -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

View file

@ -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)