handle reset click, still need to delete database but the funcionality is missing for firefox
This commit is contained in:
parent
b023bb502e
commit
e223c01275
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user