From 6215cea58df41e18cf6a4b053dd3aadfe59e0a50 Mon Sep 17 00:00:00 2001 From: Nick Winder Date: Mon, 8 Apr 2019 06:03:50 -0600 Subject: [PATCH] Fix set toolbar promise. (#208) Mistakenly did not handle the promise for set toolbar and therefore it was never fired. Same is true for the error. --- package-lock.json | 2 +- package.json | 2 +- samples/Catalog/Catalog.windows.js | 4 +++- samples/Catalog/package.json | 2 +- .../ReactNativePSPDFKit/PDFViewPage.xaml.cs | 20 ++++++++----------- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7e12ea4b..f1b9504c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.23.4", + "version": "1.23.5", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 27679b05..6f893ebe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pspdfkit", - "version": "1.23.4", + "version": "1.23.5", "description": "A React Native module for the PSPDFKit library.", "keywords": [ "react native", diff --git a/samples/Catalog/Catalog.windows.js b/samples/Catalog/Catalog.windows.js index a56d54f6..f5097dfa 100644 --- a/samples/Catalog/Catalog.windows.js +++ b/samples/Catalog/Catalog.windows.js @@ -441,7 +441,9 @@ class PdfViewToolbarCustomizationScreen extends Component<{}> {