From aa36c591c6a690d278ceadf7156dad549360ee98 Mon Sep 17 00:00:00 2001 From: lynxnb Date: Wed, 11 Jan 2023 12:44:15 +0100 Subject: [PATCH] Exclude Home button from controller setup guide --- app/src/main/java/emu/skyline/input/ControllerActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/emu/skyline/input/ControllerActivity.kt b/app/src/main/java/emu/skyline/input/ControllerActivity.kt index be142a3b..233cd26c 100644 --- a/app/src/main/java/emu/skyline/input/ControllerActivity.kt +++ b/app/src/main/java/emu/skyline/input/ControllerActivity.kt @@ -317,7 +317,7 @@ class ControllerActivity : AppCompatActivity() { GeneralType.SetupGuide -> { var dialogFragment : BottomSheetDialogFragment? = null - for (buttonItem in buttonItems.reversed()) + for (buttonItem in buttonItems.reversed().filter { it.button != ButtonId.Menu }) dialogFragment = ButtonDialog(buttonItem, dialogFragment) for (stickItem in stickItems.reversed())