From 159ad02e7a86decd1d4dae6b5cf14aed16d38ce3 Mon Sep 17 00:00:00 2001 From: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> Date: Thu, 11 May 2023 17:03:35 +0800 Subject: [PATCH] [Fix] Tapable area of user avatar in chat (#15840) --- src/status_im2/contexts/chat/messages/avatar/view.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/status_im2/contexts/chat/messages/avatar/view.cljs b/src/status_im2/contexts/chat/messages/avatar/view.cljs index 42d9e60644..975ff42817 100644 --- a/src/status_im2/contexts/chat/messages/avatar/view.cljs +++ b/src/status_im2/contexts/chat/messages/avatar/view.cljs @@ -9,8 +9,10 @@ contact (rf/sub [:contacts/contact-by-address public-key]) photo-path (when (seq (:images contact)) (rf/sub [:chats/photo-path public-key])) online? (rf/sub [:visibility-status-updates/online? public-key])] - [rn/touchable-without-feedback {:on-press #(rf/dispatch [:chat.ui/show-profile public-key])} - [rn/view {:padding-top 2} + [rn/view {:style {:padding-top 2}} + [rn/touchable-opacity + {:active-opacity 1 + :on-press #(rf/dispatch [:chat.ui/show-profile public-key])} [quo/user-avatar {:full-name display-name :profile-picture photo-path