Skip to content

feat: tap language label to toggle between primary and secondary language#156

Merged
zugaldia merged 1 commit into
mainfrom
az-lang-switch
Apr 30, 2026
Merged

feat: tap language label to toggle between primary and secondary language#156
zugaldia merged 1 commit into
mainfrom
az-lang-switch

Conversation

@zugaldia
Copy link
Copy Markdown
Owner

Summary

  • Adds onLanguageToggled() to MainViewModel: checks current language against primary and delegates to the existing onPrimaryLanguageSelected() / onSecondaryLanguageSelected() methods
  • Adds onLanguageClicked callback to StatusWidget (mirrors AudioWidget pattern); attaches a GestureClick controller and pointer cursor to the language label
  • Wires the callback in MainWindow to viewModel.onLanguageToggled()

Partially addresses #155 — tablet/2-in-1 users whose on-screen keyboards don't send Shift events can now tap the language label to switch languages.

…uage

Adds a GestureClick controller to the language label in StatusWidget so
tapping it toggles between primary and secondary language, complementing
the existing Shift key shortcut. Addresses #155 for tablet/2-in-1 users
whose on-screen keyboards don't send shift events.
@zugaldia zugaldia merged commit 120b8ce into main Apr 30, 2026
4 checks passed
@zugaldia zugaldia deleted the az-lang-switch branch April 30, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant