feat: Make label fields less restrictive, improve change detection in document edit page

This commit is contained in:
Anton Stubenbord
2023-10-10 15:27:58 +02:00
parent 0b4b7f6871
commit 379b71008a
25 changed files with 597 additions and 391 deletions

View File

@@ -9,14 +9,12 @@ class UnsavedChangesWarningDialog extends StatelessWidget {
@override
Widget build(BuildContext context) {
return AlertDialog(
title: Text("Discard changes?"),
content: Text(
"You have unsaved changes. Do you want to continue without saving? Your changes will be discarded.",
),
title: Text(S.of(context)!.discardChanges),
content: Text(S.of(context)!.discardChangesWarning),
actions: [
DialogCancelButton(),
const DialogCancelButton(),
DialogConfirmButton(
label: S.of(context)!.continueLabel,
label: S.of(context)!.discard,
),
],
);