File tree 6 files changed +14
-15
lines changed 6 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 67
67
:else theme)
68
68
{:keys [icon-color background-color text-color border-color]}
69
69
(themes theme')]
70
- ( println " theme " theme' background-color)
70
+
71
71
[rn/touchable-without-feedback
72
- (merge (when on-press
72
+ (merge {:disabled disabled
73
+ :accessibility-label accessibility-label}
74
+ (when on-press
73
75
{:on-press on-press})
74
76
(when on-long-press
75
77
{:on-long-press on-long-press}))
76
78
[rn/view
77
- (merge {:background-color background-color
78
- :border-radius border-radius
79
- :type type
80
- :disabled disabled
81
- :accessibility-label accessibility-label}
79
+ (merge {:background-color background-color
80
+ :border-radius border-radius}
82
81
(when border-color
83
82
{:border-color border-color
84
83
:border-width 1 }))
Original file line number Diff line number Diff line change 1
1
(ns status-im.ui.components.text
2
2
(:require
3
3
[react-native.core :as rn]
4
- [react-native.reanimated :as animated]
5
4
[reagent.core :as reagent]
6
5
[status-im.ui.components.colors :as colors]
7
6
[status-im.ui.components.typography :as typography]))
44
43
[]
45
44
(let [this (reagent/current-component )
46
45
props (reagent/props this)
47
- component ( if ( :animated? props) animated/text rn/text) ]
46
+ component rn/text]
48
47
(into [component
49
48
(merge {:style (text-style props)}
50
49
(dissoc props
Original file line number Diff line number Diff line change 152
152
:component wallet.account/account}
153
153
{:name :add-new-account
154
154
; ;TODO dynamic title
155
- :options {:insets {:top? true }}
155
+ :options {:insets {:top? true :bottom? true }}
156
156
:component add-account/add-account-view}
157
157
{:name :add-new-account-pin
158
158
; ;TODO dynamic title
Original file line number Diff line number Diff line change 211
211
{:style styles/round-action-button
212
212
:on-press on-press}
213
213
(icons/icon icon {:color colors/white})]
214
- [quo /text
214
+ [components.core /text
215
215
{:color :secondary
216
216
:size :small
217
217
:style {:margin-top (:tiny spacing/spacing)}}
348
348
:margin-top 8
349
349
:margin-horizontal 67.5
350
350
:text-align :center }}
351
- [quo /text
351
+ [components.core /text
352
352
{:color :secondary
353
353
:size :small
354
354
:style {:text-align :center }}
Original file line number Diff line number Diff line change 145
145
:justify-content :center
146
146
:left 0
147
147
:right 0
148
- :bottom 16
148
+ :bottom 56
149
149
:height 40 })
150
150
151
151
(defn send-button
Original file line number Diff line number Diff line change 244
244
to to-wallet to-contact
245
245
gas-limit gas-price-gwei gas-price-eth gas-used
246
246
fee-cap-gwei tip-cap-gwei
247
- cost nonce data]}]
247
+ cost nonce data]
248
+ :as tx}]
248
249
[react/view {:style styles/details-block}
249
250
[details-list-row :t/block block]
250
- [details-list-row :t/hash hash]
251
+ [details-list-row :t/hash ( : hash tx) ]
251
252
[details-list-row :t/from-capitalized
252
253
[{:accessibility-label (if from-wallet :sender-name-text :sender-address-text )}
253
254
(or from-wallet from-contact from)]
You can’t perform that action at this time.
0 commit comments