From 3c9314dff32e675d43b9e74d39aefdeb9826adab Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 3 Nov 2019 15:13:13 -0800 Subject: [PATCH] Disable both navbar buttons when disabling navigation --- Limelight/ViewControllers/MainFrameViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 604cc37d..a2c09928 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -1167,10 +1167,12 @@ static NSMutableSet* hostList; - (void) disableNavigation { self.navigationController.navigationBar.topItem.rightBarButtonItem.enabled = NO; + self.navigationController.navigationBar.topItem.leftBarButtonItem.enabled = NO; } - (void) enableNavigation { self.navigationController.navigationBar.topItem.rightBarButtonItem.enabled = YES; + self.navigationController.navigationBar.topItem.leftBarButtonItem.enabled = YES; } #if TARGET_OS_TV