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

main
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(
padding: const EdgeInsets.only(
left: otherPadding,
right: otherPadding,
top: otherPadding,
bottom: otherPadding,
return GestureDetector(
onTap: widget.goToPostFunction,
child: Padding(
padding: const EdgeInsets.only(
left: otherPadding,
right: otherPadding,
top: otherPadding,
bottom: otherPadding,
),
child: body,
),
child: body,
);
}