Adjust margins for buttons in OATH account dialog.

This commit is contained in:
Dain Nilsson 2022-09-07 09:01:48 +02:00
parent d6c668ac40
commit 0df2889cbf
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

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