From 98b58c903697e175ca940eeaaa2df9c963e4dbd2 Mon Sep 17 00:00:00 2001 From: Julien Eluard Date: Sun, 23 Jul 2017 23:58:04 +0200 Subject: [PATCH] Removed useless natal-shell dependency --- project.clj | 2 +- src/status_im/utils/listview.cljs | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/project.clj b/project.clj index 7e57f6a1d9..26118e4433 100644 --- a/project.clj +++ b/project.clj @@ -5,9 +5,9 @@ :url "http://www.eclipse.org/legal/epl-v10.html"} :dependencies [[org.clojure/clojure "1.9.0-alpha13"] [org.clojure/clojurescript "1.9.671"] + [org.clojure/core.async "0.3.443"] [reagent "0.6.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]] [re-frame "0.9.4"] - [natal-shell "0.3.0"] [com.andrewmcveigh/cljs-time "0.5.0"] [tailrecursion/cljs-priority-map "1.2.0"] [com.taoensso/timbre "4.7.4"] diff --git a/src/status_im/utils/listview.cljs b/src/status_im/utils/listview.cljs index ba311fc634..cde9b9b67d 100644 --- a/src/status_im/utils/listview.cljs +++ b/src/status_im/utils/listview.cljs @@ -1,11 +1,10 @@ -(ns status-im.utils.listview - (:require-macros [natal-shell.data-source :refer [data-source]])) +(ns status-im.utils.listview) (defn clone-with-rows [ds rows] (.cloneWithRows ds (reduce (fn [ac el] (.push ac el) ac) (clj->js []) rows))) -(defmacro data-source [config] +(defn data-source [config] (js/ReactNative.ListView.DataSource. (clj->js config))) (defn to-datasource [items]