From 11961c37adf6b597edf52c225e88cbbc0d5762b6 Mon Sep 17 00:00:00 2001 From: ibrkhalil Date: Wed, 28 Dec 2022 19:12:46 +0200 Subject: [PATCH] Clean --- src/status_im/ui2/screens/chat/composer/images/view.cljs | 6 ++---- src/status_im/ui2/screens/chat/composer/style.cljs | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) 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})