lock to portrait orientation

This commit is contained in:
Roman Volosovskyi 2016-06-27 15:54:06 +03:00
parent a99778031b
commit dc079cc217
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@
(.addOrientationListener
orientation
#(dispatch [:set :orientation (orientation->keyword %)]))
(.lockToPortrait orientation)
(.addListener device-event-emitter
"keyboardDidShow"
(fn [e]