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 opening tasks in app on mobile devices #281

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

jamiebrynes7
Copy link
Owner

Electron's openExternal is not available on mobile devices so this would fail. Instead we do a little workaround involving:

  • creating a DOM link element
  • simulating the user's click
  • removing the element

Tested on iOS

@jamiebrynes7 jamiebrynes7 merged commit fc2bf0b into develop Feb 2, 2024
1 check passed
@jamiebrynes7 jamiebrynes7 deleted the bugfix/fix-open-in-todoist branch February 2, 2024 22:43
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