Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull committed Aug 3, 2023
1 parent ce5bfda commit 27f3291
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/status_im2/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
(async-storage/get-item :selected-stack-id #(shell.utils/change-selected-stack-id % nil nil))
(async-storage/get-item :screen-height #(reset! shell.state/screen-height %))

;; Note - We have to enable layout animations manually at app startup,
;; otherwise, they will be enabled at runtime when they are used and will cause few bugs.
;; https://github.com/status-im/status-mobile/issues/16693
;; We can remove this call, once reanimated library is upgraded to v3.
;; Also, we can't move this call to reanimated.cljs file,
;; because that causes component tests to fail. (as function is not mocked in library jestUtils)
(reanimated/enable-layout-animations true)

(dev/setup)
Expand Down

0 comments on commit 27f3291

Please sign in to comment.