We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've tried to use fonts in iOS and used an Font-Extension:
extension Font { init(resource: KeyPath<MR.fonts, FontResource>, withSize: Double = 14.0) { self.init(MR.fonts()[keyPath: resource].uiFont(withSize: withSize)) } }
but then an error occurs:
All fonts in MR have a data type ResourcesFontResource:
The same behavior applies to files and images
I'm using the 0.24.4 version. Here is my "config" from build.gradle.kts:
multiplatformResources { resourcesPackage.set(libs.versions.core.packagename.get()) iosBaseLocalizationRegion.set("en") iosMinimalDeploymentTarget.set(libs.versions.core.ios.deploymenttarget.get()) }
Could it be that I'm using moko-resources incorrectly or have overlooked something?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've tried to use fonts in iOS and used an Font-Extension:
but then an error occurs:
All fonts in MR have a data type ResourcesFontResource:
The same behavior applies to files and images
I'm using the 0.24.4 version.
Here is my "config" from build.gradle.kts:
Could it be that I'm using moko-resources incorrectly or have overlooked something?
The text was updated successfully, but these errors were encountered: