Skip to content

Commit

Permalink
iOS ExternalActionViewModifierPlugin: make apply func open (#539)
Browse files Browse the repository at this point in the history
* ExternalActionViewModifierPlugin make apply func open
  • Loading branch information
nancywu1 authored Dec 2, 2024
1 parent ba8748a commit 1c7b805
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ open class ExternalActionViewModifierPlugin<ModifierType: ExternalStateViewModif
self.handler = handler
}

public func apply<P>(player: P) where P: HeadlessPlayer {
open func apply<P>(player: P) where P: HeadlessPlayer {
guard let player = player as? SwiftUIPlayer else { return }
player.hooks?.view.tap(name: pluginName, { (view) -> AnyView in
return AnyView(view.modifier(ModifierType.init(plugin: self)))
Expand Down

0 comments on commit 1c7b805

Please sign in to comment.