diff --git a/src/status_im/contexts/communities/actions/share_community_channel/style.cljs b/src/status_im/contexts/communities/actions/share_community_channel/style.cljs index b7c71cdafd86..e1d620502c60 100644 --- a/src/status_im/contexts/communities/actions/share_community_channel/style.cljs +++ b/src/status_im/contexts/communities/actions/share_community_channel/style.cljs @@ -1,6 +1,10 @@ (ns status-im.contexts.communities.actions.share-community-channel.style (:require [quo.foundations.colors :as colors])) +(defn container + [safe-area-top] + {:padding-top safe-area-top}) + (def header-container {:padding-horizontal 20 :padding-vertical 12}) diff --git a/src/status_im/contexts/communities/actions/share_community_channel/view.cljs b/src/status_im/contexts/communities/actions/share_community_channel/view.cljs index e885050a5dce..cb06daa09d8f 100644 --- a/src/status_im/contexts/communities/actions/share_community_channel/view.cljs +++ b/src/status_im/contexts/communities/actions/share_community_channel/view.cljs @@ -25,7 +25,7 @@ [chat-id])] [quo/overlay {:type :shell} [rn/view - {:style {:padding-top (safe-area/get-top)} + {:style (style/container (safe-area/get-top)) :key :share-community} [quo/page-nav {:icon-name :i/close