From 883a32e0caddc7fbba3ce9959142257333566ff8 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Tue, 5 May 2026 22:38:11 +0200 Subject: [PATCH] Fixed button --- .../views/main_menu/match_view/match_result_view.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/presentation/views/main_menu/match_view/match_result_view.dart b/lib/presentation/views/main_menu/match_view/match_result_view.dart index ffa9ba3..6a85945 100644 --- a/lib/presentation/views/main_menu/match_view/match_result_view.dart +++ b/lib/presentation/views/main_menu/match_view/match_result_view.dart @@ -91,6 +91,7 @@ class _MatchResultViewState extends State { return Scaffold( backgroundColor: CustomTheme.backgroundColor, appBar: AppBar( + automaticallyImplyLeading: !isLiveEditMode, leading: !isLiveEditMode ? IconButton( icon: const Icon(Icons.close), @@ -209,7 +210,7 @@ class _MatchResultViewState extends State { // Button to switch to live edit mode ...[ CustomWidthButton( - text: 'Live-Edit Modus', + text: loc.live_edit_mode, sizeRelativeToWidth: 0.95, buttonType: ButtonType.secondary, onPressed: () => setState(() { @@ -238,7 +239,7 @@ class _MatchResultViewState extends State { ), ] else ...[ CustomWidthButton( - text: 'Ansicht verlassen', + text: loc.exit_view, sizeRelativeToWidth: 0.95, onPressed: () => setState(() { isLiveEditMode = false;