From 53f1a191caf0daa07b6dcbaf20e4eb77f7777a83 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Sat, 19 Dec 2020 22:31:36 +0530 Subject: [PATCH] Update stdop and minor bug fixes - Updated stdop to latest - Fixed: Backup and restore not working properly. - Fixed: clearUserData --- index.html | 130 ++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 90 insertions(+), 40 deletions(-) diff --git a/index.html b/index.html index c511b16..90a556f 100644 --- a/index.html +++ b/index.html @@ -1218,7 +1218,7 @@ getConfirmation('Clear Data?', `Are you sure you want to clear stored data?`, "Clear").then( result => { - floDapps.clearUserData().then(result => { + messenger.clearUserData().then(result => { notify("Successfully Cleared local data", 'success') setTimeout(onLoadStartUp, 2000) }).catch(error => notify(error, "error")) @@ -1301,6 +1301,7 @@ return; } messenger.parseBackup(file).then(data => { + debugger; getConfirmation('Restore Data?', `Found: ${Object.keys(data.contacts).length} Contacts,\n ${Object.keys(data.messages).length} Messages, ${Object.keys(data.mails).length} Mails.`, "Restore" @@ -8767,7 +8768,7 @@ Bitcoin.Util = { } } - - -