Skip to content

Commit

Permalink
Fix button appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedon-dev committed Feb 3, 2025
1 parent c6b73ef commit c25e531
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lib/ui/screens/settings/settings_about.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ class _AboutScreenState extends State<AboutScreen> {
ListTile(
leading: const Icon(Icons.info),
trailing: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Theme.of(context)
.colorScheme
.primary),
onPressed: () async {
if (Platform.isLinux) {
showToast(
Expand All @@ -116,7 +120,14 @@ class _AboutScreenState extends State<AboutScreen> {
}
}
},
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(
Expand Down

0 comments on commit c25e531

Please sign in to comment.