Repository navigation
Android keyboard: drop the arrow from the strip's Hex menu key - #3190
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #3189, reported by @Wstnn.
With Labs › Keyboard tools on, the strip's menu key read "Hex menu ›" right next to the Hex key. The arrow pointed at the Hex key, so people tapped it to open the menu and started a dictation instead. The menu opens in place of the keys, so the arrow never meant "next" anyway.
What changed
keyboard_menu_openis now "Hex menu" (English), "Hex menüsü" (Turkish) and "Hex 菜单" (Chinese). German, Spanish, French, Italian and Norwegian use the English text. Only the label in the closed state changes; "Done" and "⋯" stay as they were.MenuKeyLabelTestreadskeyboard_menu_openfrom everyvalues*/strings_keyboard.xmland fails if any label contains an arrow (› > → » ▸).I left out the optional hairline between the menu key and the Hex key, because it would change how the strip looks.
Testing
./gradlew :app:testDebugUnitTest --tests ly.anoma.hex.keyboard.MenuKeyLabelTest. Please run it before merging.python3 scripts/code-shape.py --checkpasses (it only warns about Rust files this change doesn't touch).Fixes #3189