Center the Discord Icon in the button

And adjust the GitHub button size to match the now larger Discord button.
This commit is contained in:
NBA2K1 2025-06-01 01:05:34 +02:00
parent 34f0be6d9a
commit 3a1d568a42

View file

@ -77,7 +77,10 @@ class AboutScreen extends ConsumerWidget {
),
);
},
icon: const Icon(FontAwesomeIcons.github),
icon: const Padding(
padding: EdgeInsets.only(left: 2.5, right: 2.5),
child: Icon(FontAwesomeIcons.github),
),
),
IconButton(
onPressed: () {
@ -87,7 +90,10 @@ class AboutScreen extends ConsumerWidget {
),
);
},
icon: const Icon(FontAwesomeIcons.discord),
icon: const Padding(
padding: EdgeInsets.only(right: 5),
child: Icon(FontAwesomeIcons.discord),
),
),
],
),