mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-25 23:14:18 +03:00
Change position and color of pinned icon
This commit is contained in:
parent
52903051f1
commit
5ac8646df8
@ -188,6 +188,15 @@ class _AccountViewState extends ConsumerState<AccountView> {
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: Actions.handler(
|
||||
context, TogglePinIntent(credential)),
|
||||
icon: Icon(
|
||||
Symbols.push_pin,
|
||||
fill: 1,
|
||||
color: Colors.grey.shade600,
|
||||
),
|
||||
),
|
||||
helper.code != null
|
||||
? FilledButton.tonalIcon(
|
||||
icon: helper.buildCodeIcon(),
|
||||
@ -199,11 +208,6 @@ class _AccountViewState extends ConsumerState<AccountView> {
|
||||
style: buttonStyle,
|
||||
onPressed: Actions.handler(context, openIntent),
|
||||
child: helper.buildCodeIcon()),
|
||||
IconButton(
|
||||
onPressed: Actions.handler(
|
||||
context, TogglePinIntent(credential)),
|
||||
icon: const Icon(Symbols.push_pin, fill: 1),
|
||||
)
|
||||
],
|
||||
)
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user