Skip to content

Commit

Permalink
Merge pull request #158 from TimothyOsborn/UIManagerRSSignatureView-w…
Browse files Browse the repository at this point in the history
…arning-fix

getViewManagerConfig() replaces UIManager.RSSignatureView
  • Loading branch information
jedt authored Mar 29, 2019
2 parents 473ccfa + 92c418f commit c57f45e
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 c57f45e

Please sign in to comment.