Added deep-links tab
This commit is contained in:
parent
96552462d8
commit
f8e8b6e2dd
|
@ -1 +1,4 @@
|
|||
# Created by .ignore support plugin (hsz.mobi)
|
||||
node_modules/
|
||||
target/
|
||||
resources/public/js/compiled
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
[tab-button "Stickers" :stickers tab-view]
|
||||
(when (exists? js/ethereumBeta)
|
||||
[tab-button "Beta Provider" :beta tab-view])
|
||||
[tab-button "Deep links" :deep-links tab-view]
|
||||
[tab-button "About" :about tab-view]]
|
||||
[react/view {:style {:height 1 :margin-top 10 :background-color "#4360df33"}}]])
|
||||
|
||||
|
|
|
@ -30,4 +30,11 @@
|
|||
uppercase? (map #(when % (string/upper-case %))))]
|
||||
(vec (concat
|
||||
[text-class opts]
|
||||
ts))))))
|
||||
ts))))))
|
||||
|
||||
(def linking (.-Linking js/ReactNativeWeb))
|
||||
|
||||
(defn link
|
||||
[{:keys [href]} s]
|
||||
[text {:accessibilityRole "link" :href href :style {:color "blue" :text-decoration-line "underline"}}
|
||||
s])
|
|
@ -197,6 +197,12 @@
|
|||
[ui/label "Scan QR result: " ""]
|
||||
[react/text @qr-result]]])
|
||||
|
||||
(when (= :deep-links tab-view)
|
||||
[react/view
|
||||
[react/view {:style {:flex-direction :row :padding-vertical 10}}
|
||||
[react/link {:href "ethereum:0x89205a3a3b2a69de6dbf7f01ed13b2108b2c43e7"}
|
||||
"EIP681 deep-link"]]])
|
||||
|
||||
(when (= :about tab-view)
|
||||
[react/view
|
||||
[react/view {:style {:flex-direction :row :padding-vertical 10}}
|
||||
|
|
Loading…
Reference in New Issue