Skip to content

Commit

Permalink
Open the token detail sheet in wallet home page
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac committed Apr 5, 2024
1 parent 12cfe14 commit be7c8c8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/status_im/contexts/wallet/home/tabs/assets/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
(:require
[quo.core :as quo]
[react-native.core :as rn]
[status-im.contexts.wallet.common.token-value.view :as token-value]
[status-im.contexts.wallet.home.tabs.assets.style :as style]
[utils.re-frame :as rf]))

(defn- token-value
[item & _rest]
[quo/token-value item])

(defn view
[]
(let [tokens-loading? (rf/sub [:wallet/tokens-loading?])
Expand All @@ -19,6 +16,6 @@
:parent-height 560
:animated? false}]
[rn/flat-list
{:render-fn token-value
{:render-fn token-value/view
:data tokens
:content-container-style style/list-container}])))

0 comments on commit be7c8c8

Please sign in to comment.