File tree Expand file tree Collapse file tree
samples/Catalog/windows/Catalog
windows/ReactNativePSPDFKit/ReactNativePSPDFKit Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
268268 <Target Name="AfterBuild">
269269 </Target>
270270 -->
271- </Project >
271+ </Project >
Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff line change 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 >
168168 <Target Name="AfterBuild">
169169 </Target>
170170 -->
171- </Project >
171+ </Project >
You can’t perform that action at this time.
0 commit comments