mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 19:16:59 +00:00
fix window height sub leak (#15878)
This commit is contained in:
parent
d714dc1590
commit
3c278ed06c
@ -34,7 +34,7 @@
|
||||
|
||||
(defn store-screen-height
|
||||
[evt]
|
||||
(let [window-height (rf/sub [:dimensions/window-height])
|
||||
(let [window-height (:height (rn/get-window))
|
||||
height (or (oget evt "nativeEvent" "layout" "height") 0)
|
||||
width (or (oget evt "nativeEvent" "layout" "width") 0)]
|
||||
;; Layout height calculation
|
||||
|
Loading…
x
Reference in New Issue
Block a user