Fix build

This commit is contained in:
Ilya Laktyushin 2019-11-26 21:54:38 +04:00
parent 9586907fc0
commit dcfd59b1a1
2 changed files with 1 additions and 2 deletions

View File

@ -31,6 +31,7 @@ static_library(
"//submodules/SearchBarNode:SearchBarNode",
"//submodules/PresentationDataUtils:PresentationDataUtils",
"//submodules/DeviceAccess:DeviceAccess",
"//submodules/ChatListSearchItemHeader:ChatListSearchItemHeader",
],
frameworks = [
"$SDKROOT/System/Library/Frameworks/Foundation.framework",

View File

@ -281,8 +281,6 @@ public final class LocationPickerController: ViewController {
strongSelf.controllerNode.scrollToTop()
}
}
self.supportedOrientations = ViewControllerSupportedOrientations(regularSize: .all, compactSize: .portrait)
}
required public init(coder aDecoder: NSCoder) {