From 70632378318dab89cdffcf60dd272ffa1957609b Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Tue, 2 Aug 2016 15:17:33 +0300 Subject: [PATCH] fix #184 --- src/status_im/components/react.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/status_im/components/react.cljs b/src/status_im/components/react.cljs index 3e0134262d..aefd1cba23 100644 --- a/src/status_im/components/react.cljs +++ b/src/status_im/components/react.cljs @@ -67,11 +67,13 @@ :or {font :default}} t] (r/as-element [text-class - (if (and platform-specific font) + (cond + (and platform-specific font) (-> opts (dissoc :platform-specific :font) (assoc :style (st/with-font style platform-specific font))) - opts) + style opts + :else {:style opts}) t]))) (defn text-input [props text]