Allow clicking anywhere on search result card to open the post/comment

merge-requests/67/merge
Hank Grabowski 2023-11-30 11:39:57 -05:00
rodzic 0adbeb8f82
commit dece212ded
1 zmienionych plików z 10 dodań i 7 usunięć

Wyświetl plik

@ -105,7 +105,9 @@ class _SearchResultStatusControlState extends State<SearchResultStatusControl> {
), ),
), ),
); );
return Padding( return GestureDetector(
onTap: widget.goToPostFunction,
child: Padding(
padding: const EdgeInsets.only( padding: const EdgeInsets.only(
left: otherPadding, left: otherPadding,
right: otherPadding, right: otherPadding,
@ -113,6 +115,7 @@ class _SearchResultStatusControlState extends State<SearchResultStatusControl> {
bottom: otherPadding, bottom: otherPadding,
), ),
child: body, child: body,
),
); );
} }