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,14 +105,17 @@ class _SearchResultStatusControlState extends State<SearchResultStatusControl> {
), ),
), ),
); );
return Padding( return GestureDetector(
padding: const EdgeInsets.only( onTap: widget.goToPostFunction,
left: otherPadding, child: Padding(
right: otherPadding, padding: const EdgeInsets.only(
top: otherPadding, left: otherPadding,
bottom: otherPadding, right: otherPadding,
top: otherPadding,
bottom: otherPadding,
),
child: body,
), ),
child: body,
); );
} }