Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: onboarding #17519

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/quo2/components/inputs/input/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@
colors-by-status (style/status-colors status-kw blur? theme)
variant-colors (style/variants-colors blur? theme)
clean-props (apply dissoc props custom-props)]
[rn/view {:style {:flex 1}}
[rn/view {:style container-style}
(when (or label char-limit)
[label-&-counter
{:variant-colors variant-colors
:label label
:current-chars @char-count
:char-limit char-limit}])
[rn/view
{:style (merge (style/input-container colors-by-status small? disabled?) container-style)}
{:style (style/input-container colors-by-status small? disabled?)}
(when-let [{:keys [icon-name]} left-icon]
[left-accessory
{:variant-colors variant-colors
Expand Down
1 change: 1 addition & 0 deletions src/quo2/components/inputs/profile_input/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@
[title-input/view
(merge title-input-props
{:blur? true
:size :heading-2
:placeholder placeholder
:customization-color customization-color})]]]))
3 changes: 2 additions & 1 deletion src/quo2/components/inputs/title_input/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
placeholder
max-length
default-value
size
theme
container-style]
:or {max-length 0
Expand All @@ -39,7 +40,7 @@
[rn/text-input
{:style
(text/text-style
{:size :heading-1
{:size (or size :heading-1)
:weight :semi-bold
:style (style/title-text theme)})
:default-value default-value
Expand Down
3 changes: 2 additions & 1 deletion src/status_im2/contexts/wallet/address_watch/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
:button {:on-press (fn [] (clipboard/get-string #(reset! input-value %)))
:text (i18n/label :t/paste)}
:placeholder (str "0x123abc... " (string/lower-case (i18n/label :t/or)) " bob.eth")
:container-style {:margin-right 12}
:container-style {:margin-right 12
:flex 1}
:weight :monospace
:on-change #(reset! input-value %)
:default-value @input-value}]
Expand Down