From c25e5314e71eba8924d0d15e7d0ef1553b379dda Mon Sep 17 00:00:00 2001 From: Hedon-dev <158850208+Hedon-dev@users.noreply.github.com> Date: Tue, 4 Feb 2025 00:51:39 +0100 Subject: [PATCH] Fix button appearance --- lib/ui/screens/settings/settings_about.dart | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/lib/ui/screens/settings/settings_about.dart b/lib/ui/screens/settings/settings_about.dart index c10acbec..685d1d03 100644 --- a/lib/ui/screens/settings/settings_about.dart +++ b/lib/ui/screens/settings/settings_about.dart @@ -91,6 +91,10 @@ class _AboutScreenState extends State { ListTile( leading: const Icon(Icons.info), trailing: ElevatedButton( + style: ElevatedButton.styleFrom( + backgroundColor: Theme.of(context) + .colorScheme + .primary), onPressed: () async { if (Platform.isLinux) { showToast( @@ -116,7 +120,14 @@ class _AboutScreenState extends State { } } }, - child: const Text("Check for update"), + child: Text("Check for update", + style: Theme.of(context) + .textTheme + .labelLarge + ?.copyWith( + color: Theme.of(context) + .colorScheme + .onPrimary)), ), title: const Text("Version"), subtitle: Text(