Wallet: fix nested scrollviews warning (#18714)
Wallet: fix nested scrollviews warning (#18714)
This commit is contained in:
parent
cc63c8fff5
commit
73450d736a
|
@ -29,7 +29,7 @@
|
||||||
{:customization-color account-color
|
{:customization-color account-color
|
||||||
:container-style (style/gradient-cover-container margin-top)}]
|
:container-style (style/gradient-cover-container margin-top)}]
|
||||||
(into
|
(into
|
||||||
[rn/scroll-view {:bounces false}
|
[:<>
|
||||||
[rn/view {:style style/account-avatar-container}
|
[rn/view {:style style/account-avatar-container}
|
||||||
[quo/account-avatar
|
[quo/account-avatar
|
||||||
{:customization-color account-color
|
{:customization-color account-color
|
||||||
|
|
|
@ -93,28 +93,24 @@
|
||||||
on-close #(rf/dispatch [:navigate-back-within-stack :wallet-select-asset])]
|
on-close #(rf/dispatch [:navigate-back-within-stack :wallet-select-asset])]
|
||||||
(fn []
|
(fn []
|
||||||
[rn/safe-area-view {:style style/container}
|
[rn/safe-area-view {:style style/container}
|
||||||
[rn/scroll-view
|
[account-switcher/view
|
||||||
{:content-container-style {:flex 1}
|
{:icon-name :i/arrow-left
|
||||||
:keyboard-should-persist-taps :handled
|
:on-press on-close
|
||||||
:scroll-enabled false}
|
:switcher-type :select-account}]
|
||||||
[account-switcher/view
|
[quo/text-combinations
|
||||||
{:icon-name :i/arrow-left
|
{:title (i18n/label :t/select-asset)
|
||||||
:on-press on-close
|
:container-style style/title-container
|
||||||
:switcher-type :select-account}]
|
:title-accessibility-label :title-label}]
|
||||||
[quo/text-combinations
|
[quo/segmented-control
|
||||||
{:title (i18n/label :t/select-asset)
|
{:size 32
|
||||||
:container-style style/title-container
|
:blur? false
|
||||||
:title-accessibility-label :title-label}]
|
:symbol false
|
||||||
[quo/segmented-control
|
:default-active :tab/assets
|
||||||
{:size 32
|
:container-style {:margin-horizontal 20
|
||||||
:blur? false
|
:margin-vertical 8}
|
||||||
:symbol false
|
:data tabs-data
|
||||||
:default-active :tab/assets
|
:on-change on-change-tab}]
|
||||||
:container-style {:margin-horizontal 20
|
[tab-view @search-text @selected-tab on-change-text]])))
|
||||||
:margin-vertical 8}
|
|
||||||
:data tabs-data
|
|
||||||
:on-change on-change-tab}]
|
|
||||||
[tab-view @search-text @selected-tab on-change-text]]])))
|
|
||||||
|
|
||||||
(defn- view-internal
|
(defn- view-internal
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Reference in New Issue