CardView: Render checklists better

This commit is contained in:
Vishesh Handa
2020-03-12 14:33:38 +01:00
parent 00f3edbedf
commit e352f1f9c9

View File

@ -54,6 +54,10 @@ class CardView extends StatelessWidget {
Widget _buildNoteCard(BuildContext context, Note note) {
var body = note.body.trimRight();
body = body.replaceAll('[ ]', '');
body = body.replaceAll('[x]', '');
body = body.replaceAll('[X]', '');
var textTheme = Theme.of(context).textTheme;
var tileContent = Padding(
padding: const EdgeInsets.all(8.0),