mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 10:17:16 +08:00
Backlinks: Make the entire part tappable
This commit is contained in:
@ -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(
|
child: GestureDetector(
|
||||||
color: theme.scaffoldBackgroundColor,
|
onTap: () {
|
||||||
width: MediaQuery.of(context).size.width,
|
openNoteEditor(context, note);
|
||||||
child: GestureDetector(
|
},
|
||||||
onTap: () {
|
child: Container(
|
||||||
openNoteEditor(context, note);
|
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),
|
||||||
|
Reference in New Issue
Block a user