Live-Edit Modus #207
@@ -91,6 +91,7 @@ class _MatchResultViewState extends State<MatchResultView> {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: CustomTheme.backgroundColor,
|
backgroundColor: CustomTheme.backgroundColor,
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
|
automaticallyImplyLeading: !isLiveEditMode,
|
||||||
leading: !isLiveEditMode
|
leading: !isLiveEditMode
|
||||||
? IconButton(
|
? IconButton(
|
||||||
icon: const Icon(Icons.close),
|
icon: const Icon(Icons.close),
|
||||||
@@ -209,7 +210,7 @@ class _MatchResultViewState extends State<MatchResultView> {
|
|||||||
// Button to switch to live edit mode
|
// Button to switch to live edit mode
|
||||||
...[
|
...[
|
||||||
CustomWidthButton(
|
CustomWidthButton(
|
||||||
text: 'Live-Edit Modus',
|
text: loc.live_edit_mode,
|
||||||
sizeRelativeToWidth: 0.95,
|
sizeRelativeToWidth: 0.95,
|
||||||
buttonType: ButtonType.secondary,
|
buttonType: ButtonType.secondary,
|
||||||
onPressed: () => setState(() {
|
onPressed: () => setState(() {
|
||||||
@@ -238,7 +239,7 @@ class _MatchResultViewState extends State<MatchResultView> {
|
|||||||
),
|
),
|
||||||
] else ...[
|
] else ...[
|
||||||
CustomWidthButton(
|
CustomWidthButton(
|
||||||
text: 'Ansicht verlassen',
|
text: loc.exit_view,
|
||||||
sizeRelativeToWidth: 0.95,
|
sizeRelativeToWidth: 0.95,
|
||||||
onPressed: () => setState(() {
|
onPressed: () => setState(() {
|
||||||
isLiveEditMode = false;
|
isLiveEditMode = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user