Commit 6bfbc4d6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

menu: don't show empty VC on the opposide side of the sidebar menu (refs #15127)

parent 70beaad7
......@@ -48,10 +48,10 @@
if ([UIApplication sharedApplication].userInterfaceLayoutDirection == UIUserInterfaceLayoutDirectionLeftToRight) {
_sideMenuViewController = [[RESideMenu alloc] initWithContentViewController:nil
leftMenuViewController:_menuViewController
rightMenuViewController:[UIViewController new]];
rightMenuViewController:nil];
} else {
_sideMenuViewController = [[RESideMenu alloc] initWithContentViewController:nil
leftMenuViewController:[UIViewController new]
leftMenuViewController:nil
rightMenuViewController:_menuViewController];
}
_sideMenuViewController.backgroundImage = [UIImage imageNamed:@"menu-background"];
......
......@@ -1851,7 +1851,7 @@
F2C5CAE560C074258A574B08 /* Copy Pods Resources */,
4173AEC21ABF1B860004101D /* Embed App Extensions */,
DD3567881B6760BF00338947 /* Embed Watch Content */,
1B073E97C4037EA19D77093D /* Embed Pods Frameworks */,
1C53C7C2A8D7B3028FC77EF3 /* Embed Pods Frameworks */,
);
buildRules = (
);
......@@ -2131,7 +2131,7 @@
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
1B073E97C4037EA19D77093D /* Embed Pods Frameworks */ = {
1C53C7C2A8D7B3028FC77EF3 /* Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
......
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