Upgraded to latest pluto
Signed-off-by: Julien Eluard <julien.eluard@gmail.com>
This commit is contained in:
parent
a6616033f4
commit
1bfa3cf178
2
deps.edn
2
deps.edn
|
@ -11,7 +11,7 @@
|
|||
com.taoensso/timbre {:mvn/version "4.10.0"}
|
||||
hickory {:mvn/version "0.7.1"}
|
||||
com.cognitect/transit-cljs {:mvn/version "0.8.248"}
|
||||
status-im/pluto {:mvn/version "iteration-4-8"}
|
||||
status-im/pluto {:mvn/version "iteration-4-9"}
|
||||
mvxcvi/alphabase {:mvn/version "1.0.0"}
|
||||
rasom/cljs-react-navigation {:mvn/version "0.1.4"}}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
[com.taoensso/timbre "4.10.0"]
|
||||
[hickory "0.7.1"]
|
||||
[com.cognitect/transit-cljs "0.8.248"]
|
||||
[status-im/pluto "iteration-4-8"]
|
||||
[status-im/pluto "iteration-4-9"]
|
||||
[mvxcvi/alphabase "1.0.0"]
|
||||
[rasom/cljs-react-navigation "0.1.4"]]
|
||||
:plugins [[lein-cljsbuild "1.1.7"]
|
||||
|
|
|
@ -359,9 +359,9 @@
|
|||
platform/ios? (str "http://maps.apple.com/?q=" (js/encodeURIComponent text) "&ll=" lat "," lng)
|
||||
platform/android? (str "geo:0,0?q=" lat "," lng "(" (js/encodeURIComponent text) ")")
|
||||
:else (str "http://www.openstreetmap.org/?mlat=" lat "&mlon=" lng))]
|
||||
(link {:uri uri
|
||||
:text text
|
||||
:style style
|
||||
(link {:uri uri
|
||||
:text text
|
||||
:style style
|
||||
:open-in :device})))
|
||||
|
||||
(defn list [{:keys [key data item-view]}]
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
(:require [re-frame.core :as re-frame]
|
||||
[reagent.core :as reagent]
|
||||
[clojure.string :as string]
|
||||
[pluto.reader.errors :as errors]
|
||||
[pluto.error :as error]
|
||||
[status-im.extensions.core :as extensions]
|
||||
[status-im.i18n :as i18n]
|
||||
[status-im.ui.components.react :as react]
|
||||
|
@ -50,9 +50,9 @@
|
|||
[react/text (i18n/label :t/none)]]
|
||||
[cartouche {:header (i18n/label :t/errors)}
|
||||
(if errors
|
||||
(into [react/view] (for [{::errors/keys [type value]} errors]
|
||||
(into [react/view] (for [{::error/keys [type target]} errors]
|
||||
[react/text
|
||||
(str (when type (name type)) " " (str value))]))
|
||||
(str (when type (name type)) " " (when target (name target)))]))
|
||||
[react/text (i18n/label :t/none)])]]]
|
||||
[react/view styles/bottom-container
|
||||
[react/view components.styles/flex]
|
||||
|
|
Loading…
Reference in New Issue