mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-10 01:46:35 +00:00
Disable both navbar buttons when disabling navigation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user