minor bug fix

This commit is contained in:
sairaj mote 2023-08-08 11:31:29 +05:30
parent 9fcdf51467
commit f9b587b3b6

View File

@ -3643,7 +3643,9 @@
notify(`Restoring data! Please wait.`);
messenger.restoreData(data).then(result => {
notify("Data restore completed successful! Initiating reload, Please wait", 'success')
setTimeout(onLoadStartUp, 2000)
setTimeout(() => {
location.reload()
}, 1000)
}).catch(error => {
notify("Failed to restore data! Try again later", "error", error);
});