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,10 +93,6 @@
|
||||||
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
|
|
||||||
{:content-container-style {:flex 1}
|
|
||||||
:keyboard-should-persist-taps :handled
|
|
||||||
:scroll-enabled false}
|
|
||||||
[account-switcher/view
|
[account-switcher/view
|
||||||
{:icon-name :i/arrow-left
|
{:icon-name :i/arrow-left
|
||||||
:on-press on-close
|
:on-press on-close
|
||||||
|
@ -114,7 +110,7 @@
|
||||||
:margin-vertical 8}
|
:margin-vertical 8}
|
||||||
:data tabs-data
|
:data tabs-data
|
||||||
:on-change on-change-tab}]
|
:on-change on-change-tab}]
|
||||||
[tab-view @search-text @selected-tab on-change-text]]])))
|
[tab-view @search-text @selected-tab on-change-text]])))
|
||||||
|
|
||||||
(defn- view-internal
|
(defn- view-internal
|
||||||
[]
|
[]
|
||||||
|
|
Loading…
Reference in New Issue