mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-21 15:56:55 +00:00
Fix a few cases where the loading frame could be left on-screen
This commit is contained in:
1 parent
87cac4e562
commit
845af246b5
1 file changed
+3
@@ -119,6 +119,7 @@ static NSMutableSet* hostList;
|
||||
usingCachedAppList = true;
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
if (host != self->_selectedHost) {
|
||||
[self hideLoadingFrame: nil];
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -146,6 +147,7 @@ static NSMutableSet* hostList;
|
||||
Log(LOG_W, @"Failed to get applist: %@", appListResp.statusMessage);
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
if (host != self->_selectedHost) {
|
||||
[self hideLoadingFrame: nil];
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -165,6 +167,7 @@ static NSMutableSet* hostList;
|
||||
[self updateApplist:[appListResp getAppList] forHost:host];
|
||||
|
||||
if (host != self->_selectedHost) {
|
||||
[self hideLoadingFrame: nil];
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user