Skip to content

Commit 474deab

Browse files
authored
chore: remove unneeded artboard bind (#52)
1 parent 1b52b51 commit 474deab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ios/RiveReactNativeView.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ class RiveReactNativeView: UIView, RiveStateMachineDelegate {
119119

120120
case .instance(let instance):
121121
stateMachine?.bind(viewModelInstance: instance)
122-
artboard?.bind(viewModelInstance: instance)
122+
// this should be added if we support only playing artboards on their own - https://github.com/rive-app/rive-nitro-react-native/pull/23#discussion_r2534698281
123+
// artboard?.bind(viewModelInstance: instance)
123124
}
124125
baseViewModel?.play()
125126
}

0 commit comments

Comments
 (0)