mirror of
https://github.com/status-im/status-react.git
synced 2025-02-18 13:58:24 +00:00
lock to portrait orientation
This commit is contained in:
parent
a99778031b
commit
dc079cc217
@ -48,6 +48,7 @@
|
|||||||
(.addOrientationListener
|
(.addOrientationListener
|
||||||
orientation
|
orientation
|
||||||
#(dispatch [:set :orientation (orientation->keyword %)]))
|
#(dispatch [:set :orientation (orientation->keyword %)]))
|
||||||
|
(.lockToPortrait orientation)
|
||||||
(.addListener device-event-emitter
|
(.addListener device-event-emitter
|
||||||
"keyboardDidShow"
|
"keyboardDidShow"
|
||||||
(fn [e]
|
(fn [e]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user