Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pinyin keyboard detection should not depend on enum ordering #441

Merged
merged 2 commits into from
Feb 25, 2024

Conversation

mlouielu
Copy link
Contributor

As discuss in #412, we should fix pinyin keyboard if statement.

Add a helper function BopomofoKbIsPinyin(BopomofoData *) to achieve this.

Copy link

codecov bot commented Feb 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.66%. Comparing base (b026533) to head (fc45e25).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #441   +/-   ##
=======================================
  Coverage   79.65%   79.66%           
=======================================
  Files          59       59           
  Lines       11439    11444    +5     
=======================================
+ Hits         9112     9117    +5     
  Misses       2327     2327           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kanru kanru changed the title Fix pinyin condition fix: pinyin keyboard detection should not depend on enum ordering Feb 25, 2024
@kanru kanru added this pull request to the merge queue Feb 25, 2024
Merged via the queue into chewing:master with commit 1711d4e Feb 25, 2024
19 checks passed
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.

2 participants