Ensure 'link new device' view is portrait.

pull/1/head
Matthew Chen 6 years ago
parent 7a990ed1ff
commit bf685776be

@ -115,9 +115,11 @@ NS_ASSUME_NONNULL_BEGIN
{
[super viewDidAppear:animated];
[self.qrScanningController startCapture];
[UIDevice.currentDevice ows_setOrientation:UIInterfaceOrientationPortrait];
dispatch_async(dispatch_get_main_queue(), ^{
[self.qrScanningController startCapture];
});
}
#pragma mark - OWSQRScannerDelegate

Loading…
Cancel
Save