Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrkhalil committed May 3, 2024
1 parent 58f1e1d commit 5e23cf9
Showing 1 changed file with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,15 @@

(defn view
[]
(let [{:keys [adding-address-purpose ens? address]
{:keys [placeholder address-type button-label]} :confirm-screen-props} (rf/sub [:get-screen-params])
placeholder (i18n/label placeholder)
[account-name on-change-name] (rn/use-state "")
[account-color on-change-color] (rn/use-state (rand-nth colors/account-colors))
[account-emoji on-change-emoji] (rn/use-state (emoji-picker.utils/random-emoji))]
(let [{:keys [adding-address-purpose
ens? address]
{:keys [placeholder
address-type
button-label]} :confirm-screen-props} (rf/sub [:get-screen-params])
placeholder (i18n/label placeholder)
[account-name on-change-name] (rn/use-state "")
[account-color on-change-color] (rn/use-state (rand-nth colors/account-colors))
[account-emoji on-change-emoji] (rn/use-state (emoji-picker.utils/random-emoji))]
[:<>
(when (= adding-address-purpose :save)
[rn/view {:style style/save-address-drawer-bar-container}
Expand Down Expand Up @@ -95,8 +98,8 @@
:subtitle-type :default
:custom-subtitle (fn [] [quo/text
{:size :paragraph-2
;; TODO: monospace font
;; https://github.com/status-im/status-mobile/issues/17009
;; TODO: monospace font
;; https://github.com/status-im/status-mobile/issues/17009
:weight :monospace}
address])
:container-style style/data-item
Expand Down

0 comments on commit 5e23cf9

Please sign in to comment.