Commit f57f4b3e authored by Carola Nitz's avatar Carola Nitz

VLCMovieViewController: fix wrong padding on the sides on iPad

parent 262c6ae6
...@@ -405,7 +405,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) { ...@@ -405,7 +405,7 @@ typedef NS_ENUM(NSInteger, VLCPanType) {
NSObject *guide = self.navigationController.navigationBar; NSObject *guide = self.navigationController.navigationBar;
if (@available(iOS 11.0, *)) { if (@available(iOS 11.0, *)) {
guide = self.navigationController.navigationBar.safeAreaLayoutGuide; guide = self.navigationController.navigationBar.layoutMarginsGuide;
} }
[NSLayoutConstraint activateConstraints:@[ [NSLayoutConstraint activateConstraints:@[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment