Skip to content

Commit

Permalink
minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
briansztamfater committed Nov 14, 2023
1 parent 3865232 commit 1df9ce9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/status_im2/contexts/wallet/send/select_asset/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@
(string/starts-with? (string/lower-case (:symbol %))
(string/lower-case search-text)))
sorted-tokens)]
[rn/view {:style {:flex 1}}
[rn/flat-list
{:data filtered-tokens
:content-container-style {:padding-horizontal 8}
:keyboard-should-persist-taps :handled
:key-fn :id
:on-scroll-to-index-failed identity
:render-fn asset-component}]]))
[rn/flat-list
{:data filtered-tokens
:style {:flex 1}
:content-container-style {:padding-horizontal 8}
:keyboard-should-persist-taps :handled
:key-fn :id
:on-scroll-to-index-failed identity
:render-fn asset-component}]))

(defn- tab-view
[account search-text selected-tab]
Expand Down

0 comments on commit 1df9ce9

Please sign in to comment.