Set title immediately when a PC is tapped

This commit is contained in:
Cameron Gutman
2019-11-03 15:12:43 -08:00
parent abe850cd72
commit c5e1bbf61b
@@ -138,9 +138,6 @@ static NSMutableSet* hostList;
return; return;
} }
self.title = host.name;
[self enableUpButton];
[self updateAppsForHost:host]; [self updateAppsForHost:host];
[self hideLoadingFrame: nil]; [self hideLoadingFrame: nil];
}); });
@@ -182,9 +179,6 @@ static NSMutableSet* hostList;
return; return;
} }
self.title = host.name;
[self enableUpButton];
[self updateAppsForHost:host]; [self updateAppsForHost:host];
[self->_appManager stopRetrieving]; [self->_appManager stopRetrieving];
[self->_appManager retrieveAssetsFromHost:host]; [self->_appManager retrieveAssetsFromHost:host];
@@ -299,6 +293,8 @@ static NSMutableSet* hostList;
Log(LOG_D, @"Clicked host: %@", host.name); Log(LOG_D, @"Clicked host: %@", host.name);
_selectedHost = host; _selectedHost = host;
self.title = host.name;
[self enableUpButton];
[self disableNavigation]; [self disableNavigation];
#if TARGET_OS_TV #if TARGET_OS_TV