handle reset click, still need to delete database but the funcionality is missing for firefox

This commit is contained in:
Sebastian 2021-06-04 10:47:51 -03:00
parent b023bb502e
commit e223c01275
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1

View File

@ -120,6 +120,10 @@ async function dispatch(
r = wrapResponse(await getDiagnostics());
break;
}
case "reset-db": {
r = wrapResponse(await reinitWallet());
break;
}
case "wxGetExtendedPermissions": {
const res = await new Promise((resolve, reject) => {
getPermissionsApi().contains(extendedPermissions, (result: boolean) => {