From 4f2f2c8d3c5d2cfc45b815cc3af03f00e2cae06f Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Thu, 3 Jul 2025 17:33:19 +0200 Subject: [PATCH] Updated delete popup style --- lib/views/active_game_view.dart | 6 +++++- lib/views/main_menu_view.dart | 6 +++++- pubspec.yaml | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/views/active_game_view.dart b/lib/views/active_game_view.dart index 3f9c613..1b5e546 100644 --- a/lib/views/active_game_view.dart +++ b/lib/views/active_game_view.dart @@ -244,7 +244,11 @@ class _ActiveGameViewState extends State { onPressed: () => Navigator.pop(context, false), ), CupertinoDialogAction( - child: Text(AppLocalizations.of(context).delete), + child: Text( + AppLocalizations.of(context).delete, + style: const TextStyle( + fontWeight: FontWeight.bold, color: Colors.red), + ), onPressed: () { Navigator.pop(context, true); }, diff --git a/lib/views/main_menu_view.dart b/lib/views/main_menu_view.dart index 3a9441f..3281c6f 100644 --- a/lib/views/main_menu_view.dart +++ b/lib/views/main_menu_view.dart @@ -226,7 +226,11 @@ class _MainMenuViewState extends State { onPressed: () { Navigator.pop(context, true); }, - child: Text(AppLocalizations.of(context).delete), + child: Text( + AppLocalizations.of(context).delete, + style: const TextStyle( + fontWeight: FontWeight.bold, color: Colors.red), + ), ), ], ); diff --git a/pubspec.yaml b/pubspec.yaml index 88e2991..56b89bc 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: cabo_counter description: "Mobile app for the card game Cabo" publish_to: 'none' -version: 0.3.5+317 +version: 0.3.6+318 environment: sdk: ^3.5.4