mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-15 03:05:17 +00:00
discoveries order
This commit is contained in:
parent
748abd40e4
commit
74249dc717
@ -69,8 +69,7 @@
|
|||||||
(->> (-> (r/get-all :discoveries)
|
(->> (-> (r/get-all :discoveries)
|
||||||
(r/sorted :last-updated :desc)
|
(r/sorted :last-updated :desc)
|
||||||
r/collection->map)
|
r/collection->map)
|
||||||
(map #(update % :tags vals))
|
(map #(update % :tags vals))))
|
||||||
(into '())))
|
|
||||||
|
|
||||||
(defn- add-discoveries [discoveries]
|
(defn- add-discoveries [discoveries]
|
||||||
(realm/write (fn []
|
(realm/write (fn []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user