Skip to content

Commit a848177

Browse files
authored
Update to Windows 1.9 (#153)
Update to Windows 1.9
1 parent 8ecba78 commit a848177

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

samples/Catalog/windows/Catalog/Catalog.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
<SDKReference Include="Microsoft.VCLibs, Version=14.0">
251251
<Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
252252
</SDKReference>
253-
<SDKReference Include="PSPDFKitSDK, Version=1.8.0">
253+
<SDKReference Include="PSPDFKitSDK, Version=1.9.0">
254254
<Name>PSPDFKit for UWP</Name>
255255
</SDKReference>
256256
</ItemGroup>
@@ -268,4 +268,4 @@
268268
<Target Name="AfterBuild">
269269
</Target>
270270
-->
271-
</Project>
271+
</Project>

windows/ReactNativePSPDFKit/ReactNativePSPDFKit/PDFViewPage.xaml.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,10 @@ internal async Task ExportCurrentDocument()
8888
try
8989
{
9090
// Get the StorageFile
91-
var file = PDFView.Controller?.GetPdfDocument()?.DocumentSource.GetFile();
92-
if (file != null)
91+
if (_fileToOpen != null)
9392
{
9493
// Save it.
95-
await PDFView.Document.ExportAsync(file);
94+
await PDFView.Document.ExportAsync(_fileToOpen);
9695
}
9796

9897
this.GetReactContext().GetNativeModule<UIManagerModule>().EventDispatcher.DispatchEvent(

windows/ReactNativePSPDFKit/ReactNativePSPDFKit/ReactNativePSPDFKit.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<SDKReference Include="Microsoft.VCLibs, Version=14.0">
138138
<Name>Visual C++ 2015 Runtime for Universal Windows Platform Apps</Name>
139139
</SDKReference>
140-
<SDKReference Include="PSPDFKitSDK, Version=1.8.0">
140+
<SDKReference Include="PSPDFKitSDK, Version=1.9.0">
141141
<Name>PSPDFKit for UWP</Name>
142142
</SDKReference>
143143
</ItemGroup>
@@ -168,4 +168,4 @@
168168
<Target Name="AfterBuild">
169169
</Target>
170170
-->
171-
</Project>
171+
</Project>

0 commit comments

Comments
 (0)