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

Made sure multi-platform project compiles #196

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dominikmayer
Copy link

Removed the KeyEquivalent extension from iOS builds so they compile.

@sindresorhus
Copy link
Owner

KeyEquivalent is available on iOS.

@dominikmayer
Copy link
Author

dominikmayer commented Dec 29, 2024

Fair point, but then you'd need to move import SwiftUI out of the macOS-only block and add @available(iOS 14.0, *) to the function.

Or does the current version compile for you on iOS?

@dominikmayer
Copy link
Author

I changed it.

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