fix rotated

This commit is contained in:
mrustaa
2020-06-11 01:14:43 +03:00
parent 6d7e1a010b
commit ad9dfd7f5a
2 changed files with 13 additions and 11 deletions
@@ -108,6 +108,10 @@ class MapsViewController: StoryboardController, MapsContainerControllerDelegate,
// MARK: - Rotation Callback
@objc func rotated() {
let orint = UIDevice.current.orientation
if orint == .faceUp || orint == .faceDown || orint == .portraitUpsideDown { return }
updateMapViewTopPadding()
}