mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-03 00:06:31 +00:00
Disable both navbar buttons when disabling navigation
This commit is contained in:
parent
c5e1bbf61b
commit
3c9314dff3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user