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

Get Configuration to have modifier #10

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

muukii
Copy link
Collaborator

@muukii muukii commented Oct 15, 2024

No description provided.

@@ -36,15 +37,19 @@ open class SwiftUIHostingView: UIView {
public var disableSafeArea: Bool

public var sizeMeasureMode: SizeMeasureMode

public var baseModifier: BaseModifier
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

modifier that will be applied

@@ -15,6 +15,7 @@ open class SwiftUIHostingView: UIView {
case compressedSizeThatFits
}

@MainActor
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since ViewModifier requires MainActor, Configuration is isolated to MainActor to have baseModifier property.

@muukii muukii merged commit db7eea7 into main Oct 15, 2024
@muukii muukii deleted the muukii/patch-1728975312-from-main branch October 15, 2024 14:56
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