Skip to content

Commit 0a461e0

Browse files
some progress
1 parent 618f512 commit 0a461e0

File tree

1 file changed

+52
-12
lines changed
  • src/status_im2/contexts/wallet/send/transaction_confirmation

1 file changed

+52
-12
lines changed

src/status_im2/contexts/wallet/send/transaction_confirmation/view.cljs

+52-12
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,23 @@
9898
search-text (reagent/atom "")
9999
account-address (string/lower-case (or account-address
100100
(rf/sub [:get-screen-params :wallet-accounts])))
101-
on-close #(rf/dispatch [:navigate-back-within-stack :wallet-select-asset])]
101+
on-close #(rf/dispatch [:navigate-back-within-stack :wallet-select-asset])
102+
#_status-account-props
103+
#_{:customization-color :purple
104+
:size 32
105+
:emoji "🍑"
106+
:type :default
107+
:name "Collectibles vault"
108+
:address "0x0ah...78b"}
109+
#_user-props
110+
#_{:full-name "M L"
111+
:status-indicator? false
112+
:size :small
113+
:ring-background (resources/get-mock-image :ring)
114+
:customization-color :blue
115+
:name "Mark Libot"
116+
:address "0x0ah...78b"
117+
:status-account (merge status-account-props {:size 16})}]
102118
(fn []
103119
[rn/scroll-view
104120
{:content-container-style (style/container margin-top)
@@ -117,17 +133,41 @@
117133
{:title (i18n/label :t/select-asset)
118134
:container-style style/title-container
119135
:title-accessibility-label :title-label}]
120-
[quo/segmented-control
121-
{:size 32
122-
:blur? false
123-
:symbol false
124-
:default-active :tab/assets
125-
:container-style {:margin-horizontal 20
126-
:margin-vertical 8}
127-
:data tabs-data
128-
:on-change #(reset! selected-tab %)}]
129-
[search-input search-text]
130-
[tab-view account-address @search-text @selected-tab]])))
136+
#_[quo/summary-info
137+
{:type :status-account
138+
:networks? true
139+
:values {:ethereum 150
140+
:optimism 50
141+
:arbitrum 25}
142+
:account-props user-props}]
143+
#_[quo/summary-info
144+
{:type :status-account
145+
:networks? true
146+
:values {:ethereum 150
147+
:optimism 50
148+
:arbitrum 25}
149+
:account-props status-account-props}]
150+
#_[rn/view
151+
[quo/data-item]
152+
[quo/data-item]
153+
[quo/data-item]]
154+
#_[quo/slide-button
155+
{:size size
156+
:container-style container-style
157+
:customization-color customization-color
158+
:on-reset (when @reset-slider? #(reset! reset-slider? false))
159+
:on-complete #(authorize {:on-close on-close
160+
:auth-button-icon-left auth-button-icon-left
161+
:theme theme
162+
:blur? blur?
163+
:customization-color customization-color
164+
:on-enter-password on-enter-password
165+
:biometric-auth? biometric-auth?
166+
:on-auth-success on-auth-success
167+
:on-auth-fail on-auth-fail
168+
:auth-button-label auth-button-label})
169+
:track-icon (if biometric-auth? :i/face-id :password)
170+
:track-text track-text}]])))
131171

132172
(defn- view-internal
133173
[{:keys [account-address]}]

0 commit comments

Comments
 (0)