Skip to content

Commit

Permalink
fix build error for missing showInReadingView param value
Browse files Browse the repository at this point in the history
  • Loading branch information
meld-cp committed Jul 13, 2024
1 parent 27fb7c6 commit 2b728fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/offline-decrypt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class OfflineDecrypt {
// Trying non-marked inplace feature decryption
for (let ver = 10; ver >= 0; ver--) {
console.info( 'Trying non-marked inplace feature decryption', 'ver', ver );
const decryptable : Decryptable = {version: ver, base64CipherText: content, hint: ''};
const decryptable : Decryptable = { version: ver, base64CipherText: content, hint: '', showInReadingView: false };
const ch = CryptoHelperFactory.BuildFromDecryptableOrNull(decryptable)
const result = await ch?.decryptFromBase64( decryptable.base64CipherText, password );
if ( result != null ){
Expand Down

0 comments on commit 2b728fb

Please sign in to comment.