Skip to content

Commit

Permalink
[#17393] fix: improve flat-list performance
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Dec 21, 2023
1 parent 9d2444d commit 2d0af3d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/status_im/contexts/profile/settings/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@
[_ index]
#js {:length 48 :offset (* 48 index) :index index})

(defn- get-item-layout
[_ index]
#js {:length 48 :offset (* 48 index) :index index})

(defn- settings-view
[theme]
(let [insets (safe-area/get-insets)
Expand Down

0 comments on commit 2d0af3d

Please sign in to comment.