From cf574d0b68f5d05344a7632557909081af4622da Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sun, 29 Oct 2023 13:06:20 +0100 Subject: [PATCH] chore: Follow up todos --- assets/l10n/intl_en.arb | 3 ++- lib/pages/tasks/tasks_view.dart | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/assets/l10n/intl_en.arb b/assets/l10n/intl_en.arb index c7ffd152..0c625e74 100644 --- a/assets/l10n/intl_en.arb +++ b/assets/l10n/intl_en.arb @@ -2549,5 +2549,6 @@ "noTodosYet": "No todos have been added to this chat yet. Create your first todo and start cooperating with others. 📝", "editTodo": "Edit todo", "pleaseAddATitle": "Please add a title", - "todoListChangedError": "Oops... The todo list has been changed while you edited it." + "todoListChangedError": "Oops... The todo list has been changed while you edited it.", + "todosUnencrypted": "Please notice that todos are visible by everyone in the chat and are not end to end encrypted." } diff --git a/lib/pages/tasks/tasks_view.dart b/lib/pages/tasks/tasks_view.dart index 5bfe9169..8046b44d 100644 --- a/lib/pages/tasks/tasks_view.dart +++ b/lib/pages/tasks/tasks_view.dart @@ -69,6 +69,15 @@ class TasksView extends StatelessWidget { textAlign: TextAlign.center, ), ), + const SizedBox(height: 16), + SizedBox( + width: 256, + child: Text( + L10n.of(context)!.todosUnencrypted, + textAlign: TextAlign.center, + style: const TextStyle(color: Colors.orange), + ), + ), ], ) : ReorderableListView.builder(