Skip to content

Commit

Permalink
Applied getViewManagerconfig() as UIManager.RSSignatureView no longer…
Browse files Browse the repository at this point in the history
… supported.
  • Loading branch information
TimothyOsborn committed Mar 29, 2019
1 parent 473ccfa commit 92c418f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SignatureCapture.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ class SignatureCapture extends React.Component {
saveImage() {
UIManager.dispatchViewManagerCommand(
ReactNative.findNodeHandle(this),
UIManager.RSSignatureView.Commands.saveImage,
UIManager.getViewManagerConfig('RSSignatureView').Commands.saveImage,
[],
);
}

resetImage() {
UIManager.dispatchViewManagerCommand(
ReactNative.findNodeHandle(this),
UIManager.RSSignatureView.Commands.resetImage,
UIManager.getViewManagerConfig('RSSignatureView').Commands.resetImage,
[],
);
}
Expand Down

0 comments on commit 92c418f

Please sign in to comment.