Skip to content

Conversation

@dominikmayer
Copy link
Contributor

Removed the KeyEquivalent extension from iOS builds so they compile.

@sindresorhus
Copy link
Owner

KeyEquivalent is available on iOS.

@dominikmayer
Copy link
Contributor 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
Contributor Author

I changed it.

@sindresorhus sindresorhus merged commit 2d6b49e into sindresorhus:main Mar 7, 2025
1 check 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