diff --git a/src/status_im/ui2/screens/chat/composer/images/view.cljs b/src/status_im/ui2/screens/chat/composer/images/view.cljs index 00a19f4a55..f5bb89d3d6 100644 --- a/src/status_im/ui2/screens/chat/composer/images/view.cljs +++ b/src/status_im/ui2/screens/chat/composer/images/view.cljs @@ -3,13 +3,11 @@ [quo2.foundations.colors :as colors] [re-frame.core :as rf] [react-native.core :as rn] - [status-im.ui2.screens.chat.composer.style :as style] - [status-im.utils.platform :as platform])) + [status-im.ui2.screens.chat.composer.style :as style])) (defn image [item] - [rn/view (when platform/android? - {:style {:margin-top 8}}) + [rn/view [rn/image {:source {:uri (first item)} :style style/small-image}] diff --git a/src/status_im/ui2/screens/chat/composer/style.cljs b/src/status_im/ui2/screens/chat/composer/style.cljs index 1120c8dfc1..3f5e2c70c2 100644 --- a/src/status_im/ui2/screens/chat/composer/style.cljs +++ b/src/status_im/ui2/screens/chat/composer/style.cljs @@ -94,7 +94,7 @@ :border-radius 7 :background-color colors/neutral-50 :position :absolute - :top -7 + :top (if platform/android? 0 -7) :right -7 :justify-content :center :align-items :center})