mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 16:32:01 +03:00
Adjust margins for buttons in OATH account dialog.
This commit is contained in:
parent
d6c668ac40
commit
0df2889cbf
@ -71,7 +71,7 @@ class AccountDialog extends ConsumerWidget with AccountMixin {
|
||||
final action = e.action;
|
||||
final color = colors[e] ?? Pair(theme.secondary, theme.onSecondary);
|
||||
return Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 4.0),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 6.0),
|
||||
child: CircleAvatar(
|
||||
backgroundColor: action != null ? color.first : theme.secondary,
|
||||
foregroundColor: color.second,
|
||||
@ -181,7 +181,9 @@ class AccountDialog extends ConsumerWidget with AccountMixin {
|
||||
),
|
||||
],
|
||||
),
|
||||
actionsPadding: const EdgeInsets.symmetric(vertical: 10.0),
|
||||
actionsPadding: const EdgeInsets.only(top: 10.0, right: -16.0),
|
||||
// use this in Flutter 3.3:
|
||||
// actionsPadding: const EdgeInsets.symmetric(vertical: 10.0),
|
||||
actions: [
|
||||
Center(
|
||||
child: FittedBox(
|
||||
|
Loading…
Reference in New Issue
Block a user