|
98 | 98 | search-text (reagent/atom "")
|
99 | 99 | account-address (string/lower-case (or account-address
|
100 | 100 | (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})}] |
102 | 118 | (fn []
|
103 | 119 | [rn/scroll-view
|
104 | 120 | {:content-container-style (style/container margin-top)
|
|
117 | 133 | {:title (i18n/label :t/select-asset)
|
118 | 134 | :container-style style/title-container
|
119 | 135 | :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}]]))) |
131 | 171 |
|
132 | 172 | (defn- view-internal
|
133 | 173 | [{:keys [account-address]}]
|
|
0 commit comments