close settings view before desktop launching

This commit is contained in:
TrueZhuanjia
2025-06-06 22:17:01 +08:00
parent 822dfc433b
commit a591380d60
@@ -388,6 +388,7 @@ static NSMutableSet* hostList;
- (void)launchButtonTappedForHost:(TemporaryHost *)host {
_selectedHost = host;
if (host.state == StateOnline && host.pairState == PairStatePaired && host.appList.count > 0) {
[[self revealViewController] revealToggleAnimated:NO];
[self switchToAppView];
[self updateAppsForHost:_selectedHost];
[self prepareToStreamApp:_sortedAppList.firstObject];