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

Update DeviceInfo.kt #540

Merged
merged 2 commits into from
Jan 30, 2025
Merged

Update DeviceInfo.kt #540

merged 2 commits into from
Jan 30, 2025

Conversation

Schizosaccaromyces
Copy link
Contributor

@Schizosaccaromyces Schizosaccaromyces commented Jan 30, 2025

Corrected typo in device product identifier for Inkbook Focus Plus


This change is Reviewable

Corrected typo in device product identifier for Inkbook Focus Plus
@@ -272,7 +272,7 @@ object DeviceInfo {
-> Id.INKBOOKFOCUS

// InkBook Focus Plus
PRODUCT == "r07802" && MODEL == "focus plus"
PRODUCT == "ro7802" && MODEL == "focus plus"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think should be better something like:

            // InkBook Focus
            DEVICE == "px30_eink" && MODEL == "focus"
            -> Id.INKBOOKFOCUS

            // InkBook Focus Plus
            DEVICE == "rk3566_eink" && MODEL == "focus plus"
            -> Id.INKBOOKFOCUS_PLUS

@Schizosaccaromyces
Copy link
Contributor Author

So as long as enough fields are unique it doesn't matter which ones are specified?

@Frenzie Frenzie merged commit f0985a3 into koreader:master Jan 30, 2025
3 checks passed
@Frenzie Frenzie mentioned this pull request Jan 30, 2025
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.

3 participants