Live-Edit Modus #207

Merged
sneeex merged 20 commits from feature/202-live-edit-modus into development 2026-05-09 17:58:38 +00:00
Showing only changes of commit 883a32e0ca - Show all commits

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;