lock to portrait orientation

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

View File

@ -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]