mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-13 18:58:53 +01:00
Tweak account picker dialog style
This commit is contained in:
parent
ce9654a5c6
commit
d511158e27
1 changed files with 8 additions and 3 deletions
|
@ -223,7 +223,12 @@ class _AccountDropdown extends StatelessWidget {
|
|||
return AnimatedRotation(
|
||||
turns: state.isOpenDropdown ? .5 : 0,
|
||||
duration: k.animationDurationShort,
|
||||
child: const Icon(Icons.arrow_drop_down_outlined),
|
||||
child: Icon(
|
||||
Icons.keyboard_arrow_down_outlined,
|
||||
color: state.isOpenDropdown
|
||||
? Theme.of(context).colorScheme.primary
|
||||
: null,
|
||||
),
|
||||
);
|
||||
},
|
||||
),
|
||||
|
@ -246,7 +251,7 @@ class _AccountTile extends StatelessWidget {
|
|||
final accountLabel = AccountPref.of(account).getAccountLabel();
|
||||
return ListTile(
|
||||
leading: SizedBox.square(
|
||||
dimension: 48,
|
||||
dimension: 40,
|
||||
child: Center(child: _AccountIcon(account)),
|
||||
),
|
||||
title: accountLabel != null
|
||||
|
@ -306,7 +311,7 @@ class _IconTile extends StatelessWidget {
|
|||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
leading: SizedBox.square(
|
||||
dimension: 48,
|
||||
dimension: 40,
|
||||
child: Center(child: icon),
|
||||
),
|
||||
title: title,
|
||||
|
|
Loading…
Reference in a new issue