Exclude Home button from controller setup guide

This commit is contained in:
lynxnb 2023-01-11 12:44:15 +01:00 committed by Billy Laws
parent c3924e0f08
commit aa36c591c6

View File

@ -317,7 +317,7 @@ class ControllerActivity : AppCompatActivity() {
GeneralType.SetupGuide -> { GeneralType.SetupGuide -> {
var dialogFragment : BottomSheetDialogFragment? = null var dialogFragment : BottomSheetDialogFragment? = null
for (buttonItem in buttonItems.reversed()) for (buttonItem in buttonItems.reversed().filter { it.button != ButtonId.Menu })
dialogFragment = ButtonDialog(buttonItem, dialogFragment) dialogFragment = ButtonDialog(buttonItem, dialogFragment)
for (stickItem in stickItems.reversed()) for (stickItem in stickItems.reversed())