Backlinks: Make the entire part tappable

This commit is contained in:
Vishesh Handa
2020-06-10 15:18:38 +02:00
parent c98d01415f
commit 1cebc69759

View File

@ -116,13 +116,13 @@ class NoteSnippet extends StatelessWidget {
return Padding( return Padding(
padding: const EdgeInsets.fromLTRB(0.0, 8.0, 0.0, 8.0), padding: const EdgeInsets.fromLTRB(0.0, 8.0, 0.0, 8.0),
child: Container(
color: theme.scaffoldBackgroundColor,
width: MediaQuery.of(context).size.width,
child: GestureDetector( child: GestureDetector(
onTap: () { onTap: () {
openNoteEditor(context, note); openNoteEditor(context, note);
}, },
child: Container(
color: theme.scaffoldBackgroundColor,
width: MediaQuery.of(context).size.width,
child: Column( child: Column(
children: <Widget>[ children: <Widget>[
Text('$title', style: textTheme.bodyText1), Text('$title', style: textTheme.bodyText1),