Skip to content

Commit

Permalink
fix: unreadable buttons in settings
Browse files Browse the repository at this point in the history
Why are we setting a custom style here at all?

Regardless, the hard-coded color makes it
unreadable in light mode.
  • Loading branch information
Merrit committed Sep 25, 2024
1 parent 8d09624 commit 3221e1e
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/settings/widgets/integration_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ class _HotkeyConfigWidget extends StatelessWidget {
title: const Text('Hotkey'),
leading: const Icon(Icons.keyboard),
trailing: ElevatedButton(
style: ElevatedButton.styleFrom(backgroundColor: Colors.grey.shade700),
onPressed: () => showDialog(
context: context,
builder: (context) => _RecordHotKeyDialog(
Expand Down Expand Up @@ -258,10 +257,6 @@ class _AppSpecificHotkeys extends StatelessWidget {
leading: Text(hotkey.hotkey.toStringHelper()),
title: Text(hotkey.executable),
trailing: ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.grey.shade700,
padding: const EdgeInsets.all(10),
),
onPressed: () => settingsCubit.removeAppSpecificHotkey(
hotkey.executable,
),
Expand All @@ -271,10 +266,6 @@ class _AppSpecificHotkeys extends StatelessWidget {
),
),
ElevatedButton(
style: ElevatedButton.styleFrom(
backgroundColor: Colors.grey.shade700,
padding: const EdgeInsets.all(10),
),
onPressed: () {
showDialog(
context: context,
Expand Down

0 comments on commit 3221e1e

Please sign in to comment.