1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-20 23:30:05 +02:00

iOS: Fixed resource decryption issue, log page crash and text input rendering issue

This commit is contained in:
Laurent Cozic
2018-02-14 15:28:56 +00:00
parent ef0cc5e33e
commit 87bc08bef5
5 changed files with 20 additions and 9 deletions

View File

@@ -84,8 +84,9 @@ class DecryptionWorker {
try {
await ItemClass.decrypt(item);
} catch (error) {
excludedIds.push(item.id);
if (error.code === 'masterKeyNotLoaded' && options.materKeyNotLoadedHandler === 'dispatch') {
excludedIds.push(item.id);
if (notLoadedMasterKeyDisptaches.indexOf(error.masterKeyId) < 0) {
this.dispatch({
type: 'MASTERKEY_ADD_NOT_LOADED',