|
@@ -2982,7 +2982,7 @@ namespace PDF_Master.ViewModels
|
|
|
{
|
|
|
string currentPath = PDFViewer.Document.FilePath;
|
|
|
string tempPath = PDFViewer.Document.FilePath + ".temp.pdf";
|
|
|
- if (PDFViewer.Document.Descrypt(tempPath))
|
|
|
+ if (PDFViewer.Document.Decrypt(tempPath))
|
|
|
{
|
|
|
PDFViewer.CloseDocument();
|
|
|
PDFViewer.InitDocument(tempPath);
|
|
@@ -3045,7 +3045,7 @@ namespace PDF_Master.ViewModels
|
|
|
{
|
|
|
string currentPath = PDFViewer.Document.FilePath;
|
|
|
string tempPath = PDFViewer.Document.FilePath + ".temp.pdf";
|
|
|
- PDFViewer.Document.Descrypt(tempPath);
|
|
|
+ PDFViewer.Document.Decrypt(tempPath);
|
|
|
PDFViewer.CloseDocument();
|
|
|
PDFViewer.InitDocument(tempPath);
|
|
|
PDFViewer.Document.WriteToFilePath(currentPath);
|