Skip to content

Commit e06a3a9

Browse files
authored
chore: clear notifs on account change (#918)
1 parent 496b739 commit e06a3a9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

infrastructure/eid-wallet/src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "eID for W3DS",
4-
"version": "0.6.0",
4+
"version": "0.7.0",
55
"identifier": "foundation.metastate.eid-wallet",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -28,7 +28,7 @@
2828
"active": true,
2929
"targets": "all",
3030
"android": {
31-
"versionCode": 23
31+
"versionCode": 24
3232
},
3333
"icon": [
3434
"icons/32x32.png",

infrastructure/eid-wallet/src/routes/(app)/settings/+page.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { goto } from "$app/navigation";
33
import { SettingsNavigationBtn } from "$lib/fragments";
44
import type { GlobalState } from "$lib/global";
55
import { runtime } from "$lib/global/runtime.svelte";
6+
import { clearAllNotifications } from "$lib/stores/notifications";
67
import { BottomSheet, ButtonAction } from "$lib/ui";
78
import {
89
Key01Icon,
@@ -40,6 +41,7 @@ function confirmDelete() {
4041
}
4142
4243
async function nukeWallet() {
44+
clearAllNotifications();
4345
const newGlobalState = await globalState.reset();
4446
setGlobalState(newGlobalState);
4547
globalState = newGlobalState;

0 commit comments

Comments
 (0)