From be7c8c805bc1a1896f405e0225e8bdd58b5bc266 Mon Sep 17 00:00:00 2001 From: Ulises M Date: Fri, 5 Apr 2024 15:10:47 -0600 Subject: [PATCH] Open the token detail sheet in wallet home page --- src/status_im/contexts/wallet/home/tabs/assets/view.cljs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/status_im/contexts/wallet/home/tabs/assets/view.cljs b/src/status_im/contexts/wallet/home/tabs/assets/view.cljs index 83eed69b150a..9366b2ce78bf 100644 --- a/src/status_im/contexts/wallet/home/tabs/assets/view.cljs +++ b/src/status_im/contexts/wallet/home/tabs/assets/view.cljs @@ -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?]) @@ -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}])))