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 disable warning msg on iPadOS browser #382

Merged
merged 1 commit into from
May 3, 2022

Conversation

jychen630
Copy link
Contributor

Solves #285.

The device warning shown for the iPadOS browser is disabled, by detecting the device with the flag isTablet using package react-device-detect.

Notice a change from isBrowser to isDesktop, in which the latter is preferred over isBrowser (source)

@jychen630
Copy link
Contributor Author

Testing is WIP.

Copy link
Collaborator

@synoet synoet left a comment

Choose a reason for hiding this comment

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

This looks good, thank you for taking on this issue.

Please sign your commits, then I'll merge it.

@jychen630
Copy link
Contributor Author

@synoet Teo, I've signed and pushed the commits. Please merge it into the main branch, so then I will check the working condition on iPadOS.

Signed-off-by: Junyao Chen <jychen630@outlook.com>
@synoet synoet merged commit a8bafba into AnubisLMS:master May 3, 2022
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.

None yet

2 participants