Skip to content

Commit

Permalink
Merge pull request #296 from enaboapps/iss295
Browse files Browse the repository at this point in the history
Allow users to switch between cursor and Item scan when using keyboard
  • Loading branch information
enaboapps authored Apr 7, 2024
2 parents 9296c92 + 523fe3e commit 33cd167
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ class MainMenu(accessibilityService: SwitchifyAccessibilityService) :
})
}

if (!KeyboardBridge.isKeyboardVisible) {
menuItems.add(MenuItem(MenuManager.getInstance().getTypeToSwitchTo()) {
MenuManager.getInstance().changeBetweenCursorAndItemScan()
})
}
menuItems.add(MenuItem(MenuManager.getInstance().getTypeToSwitchTo()) {
MenuManager.getInstance().changeBetweenCursorAndItemScan()
})

return menuItems
}
Expand Down

0 comments on commit 33cd167

Please sign in to comment.