chore: switch order of buttons in space delete dialog (#4338)

This commit is contained in:
ggurdin 2025-10-10 15:51:50 -04:00 committed by GitHub
parent c61f8488ba
commit f92548d4af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -215,6 +215,10 @@ class DeleteSpaceDialogState extends State<DeleteSpaceDialog> {
spacing: 8.0,
mainAxisAlignment: MainAxisAlignment.center,
children: [
OutlinedButton(
onPressed: Navigator.of(context).pop,
child: Text(L10n.of(context).cancel),
),
AnimatedSize(
duration: FluffyThemes.animationDuration,
child: OutlinedButton(
@ -236,10 +240,6 @@ class DeleteSpaceDialogState extends State<DeleteSpaceDialog> {
: Text(L10n.of(context).delete),
),
),
OutlinedButton(
onPressed: Navigator.of(context).pop,
child: Text(L10n.of(context).cancel),
),
],
),
),