chore: Follow up todos

This commit is contained in:
krille-chan 2023-10-29 13:06:20 +01:00
parent fd22b4330e
commit cf574d0b68
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View file

@ -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."
}

View file

@ -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(