Add spacing for cross button on Android

This commit is contained in:
ibrahem 2022-12-26 12:43:50 +02:00
parent a39e0f6fbd
commit 7abd425f91
No known key found for this signature in database
GPG Key ID: 429A111E76884CDB
1 changed files with 4 additions and 2 deletions

View File

@ -3,11 +3,13 @@
[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.ui2.screens.chat.composer.style :as style]
[status-im.utils.platform :as platform]))
(defn image
[item]
[rn/view
[rn/view (when platform/android?
{:style {:margin-top 8}})
[rn/image
{:source {:uri (first item)}
:style style/small-image}]