Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 5 additions & 18 deletions lib/features/connections/driver_manager_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,24 +127,11 @@ class _DriverManagerDialogContent extends material.StatelessWidget {
),
),
),
material.Container(
padding: const material.EdgeInsets.symmetric(
horizontal: 24, vertical: 16),
decoration: material.BoxDecoration(
border: material.Border(
top: material.BorderSide(
color: theme.border.withValues(alpha: 0.3)),
),
),
child: material.Row(
mainAxisAlignment: material.MainAxisAlignment.end,
children: [
QueryaButton.primary(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
),
],
QueryaDialogActions(
cancel: QueryaButton.ghost(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
),
),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class _ExtensionManagerContentState
),
),
const material.SizedBox(width: 16),
QueryaButton.primary(
QueryaButton.ghost(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
Expand Down
26 changes: 5 additions & 21 deletions lib/features/help/about_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -80,27 +80,11 @@ class _AboutDialogContentState extends material.State<_AboutDialogContent> {
],
),
),
material.Container(
padding: const material.EdgeInsets.symmetric(
horizontal: 24,
vertical: 16,
),
decoration: material.BoxDecoration(
border: material.Border(
top: material.BorderSide(
color: theme.border.withValues(alpha: 0.3),
),
),
),
child: material.Row(
mainAxisAlignment: material.MainAxisAlignment.end,
children: [
QueryaButton.primary(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
),
],
QueryaDialogActions(
cancel: QueryaButton.ghost(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
),
),
],
Expand Down
31 changes: 7 additions & 24 deletions lib/features/settings/preferences_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -409,31 +409,14 @@ class PreferencesDialogContentState
),

// Footer Actions
material.Container(
padding: const material.EdgeInsets.symmetric(
horizontal: 20,
vertical: 12,
),
decoration: material.BoxDecoration(
border: material.Border(
top: material.BorderSide(
color: theme.border.withValues(alpha: 0.28),
),
),
QueryaDialogActions(
leading: const PreferencesHint(
'Changes apply immediately and persist locally.',
),
child: material.Row(
children: [
const material.Expanded(
child: PreferencesHint(
'Changes apply immediately and persist locally.',
),
),
QueryaButton.secondary(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
),
],
cancel: QueryaButton.ghost(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
),
),
],
Expand Down
2 changes: 1 addition & 1 deletion lib/features/updater/update_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class UpdateDialogContentState extends material.State<UpdateDialogContent> {
),
],
UpdateDialogPhase.upToDate => [
QueryaButton.primary(
QueryaButton.ghost(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
Expand Down
Loading