Skip to content

Commit 0c60ae5

Browse files
authored
Merge pull request #2447 from switchifyapp/fix/close-menu-on-control-pc-2446
Close menu when Control PC starts
2 parents 30780e1 + 9168272 commit 0c60ae5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/src/main/java/com/enaboapps/switchify/service/menu/menus/main/MainMenuStructure.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ class MainMenuStructure(
177177
)
178178

179179
private fun openPcControlActivity() {
180+
MenuManager.getInstance().closeMenuHierarchy()
180181
val controller = ServiceCore.getPcServiceConnectionController()
181182
if (controller?.hasLiveControlSession() == true) {
182183
launchPcControlActivity()

0 commit comments

Comments
 (0)