mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-22 17:51:29 +03:00
Fix padding in Device Picker
This commit is contained in:
parent
4efc15a5c8
commit
e78fd8f920
@ -131,16 +131,7 @@ class DevicePickerContent extends ConsumerWidget {
|
||||
),
|
||||
];
|
||||
|
||||
return Padding(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: !extended && children.length > 1
|
||||
? 13
|
||||
: !extended
|
||||
? 6.5
|
||||
: 0,
|
||||
),
|
||||
child: Column(children: children),
|
||||
);
|
||||
return Column(children: children);
|
||||
}
|
||||
}
|
||||
|
||||
@ -320,7 +311,7 @@ class _DeviceRowState extends ConsumerState<_DeviceRow> {
|
||||
isDesktop && menuItems.isNotEmpty ? showMenuFn : null,
|
||||
onLongPressStart: isAndroid ? showMenuFn : null,
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(bottom: 6.5),
|
||||
padding: const EdgeInsets.symmetric(vertical: 6.5),
|
||||
child: widget.selected
|
||||
? IconButton.filled(
|
||||
tooltip: isDesktop ? tooltip : null,
|
||||
|
Loading…
Reference in New Issue
Block a user