diff --git a/lib/pages/fittings_list/widgets/fitting_folder_card.dart b/lib/pages/fittings_list/widgets/fitting_folder_card.dart index 0c8019a..1eb56d0 100644 --- a/lib/pages/fittings_list/widgets/fitting_folder_card.dart +++ b/lib/pages/fittings_list/widgets/fitting_folder_card.dart @@ -223,37 +223,26 @@ class _FittingFolderState extends State { 'Are you sure you want to delete this folder? This will include ALL of it\'s contents!' '\n\nThis action cannot be reversed.'), actions: [ - Container( - decoration: BoxDecoration( - color: Theme.of(context).cardColor, - borderRadius: BorderRadius.circular(8) + TextButton( + onPressed: () { + Navigator.of(context).pop(); + }, + child: LocalisedText( + localiseId: LocalisationStrings.cancel, ), - child: Row( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - TextButton( - onPressed: () { - Navigator.of(context).pop(); - }, - child: LocalisedText( - localiseId: LocalisationStrings.cancel, - ), - ), - Padding( - padding: const EdgeInsets.only(left: 16.0), - child: TextButton( - onPressed: () { - widgetContext - .read() - .add(DeleteShipFitting(shipFittingId: folder.id)); - Navigator.of(context).pop(); - }, - child: LocalisedText(localiseId: LocalisationStrings.ok), - ), - ), - ], + ), + Padding( + padding: const EdgeInsets.only(left: 16.0), + child: TextButton( + onPressed: () { + widgetContext + .read() + .add(DeleteShipFitting(shipFittingId: folder.id)); + Navigator.of(context).pop(); + }, + child: LocalisedText(localiseId: LocalisationStrings.ok), ), - ) + ), ], ); },