Fixed button

This commit is contained in:
2026-05-05 22:38:11 +02:00
parent bb46cace03
commit 883a32e0ca

View File

@@ -91,6 +91,7 @@ class _MatchResultViewState extends State<MatchResultView> {
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<MatchResultView> {
// 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<MatchResultView> {
),
] else ...[
CustomWidthButton(
text: 'Ansicht verlassen',
text: loc.exit_view,
sizeRelativeToWidth: 0.95,
onPressed: () => setState(() {
isLiveEditMode = false;