diff --git a/android/app/build.gradle b/android/app/build.gradle index 4feff239..5eaa5882 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -7,8 +7,8 @@ android { applicationId "com.mutinywallet.mutinywallet" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 42 - versionName "0.5.0" + versionCode 43 + versionName "0.5.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" aaptOptions { // Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps. diff --git a/package.json b/package.json index d6bbced5..42f055eb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mutiny-wallet", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "packageManager": "pnpm@8.6.6", "scripts": { @@ -55,7 +55,7 @@ "@kobalte/core": "^0.9.8", "@kobalte/tailwindcss": "^0.5.0", "@modular-forms/solid": "^0.18.1", - "@mutinywallet/mutiny-wasm": "0.5.0", + "@mutinywallet/mutiny-wasm": "0.5.1", "@mutinywallet/waila-wasm": "^0.2.6", "@solid-primitives/upload": "^0.0.111", "@solid-primitives/websocket": "^1.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d302dbfb..07174584 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: ^0.18.1 version: 0.18.1(solid-js@1.8.5) '@mutinywallet/mutiny-wasm': - specifier: 0.5.0 - version: 0.5.0 + specifier: 0.5.1 + version: 0.5.1 '@mutinywallet/waila-wasm': specifier: ^0.2.6 version: 0.2.6 @@ -2584,8 +2584,8 @@ packages: solid-js: 1.8.5 dev: false - /@mutinywallet/mutiny-wasm@0.5.0: - resolution: {integrity: sha512-1eoIPWdX9DgkmKtrtF2sTsryk3s7lbV6Em792lHh8XgphZxjJ0Wffy7TwtK2G0wl602GTlX3kw+cbGjO4UdHMg==} + /@mutinywallet/mutiny-wasm@0.5.1: + resolution: {integrity: sha512-BEx2EsNtJdUV2rt/dMXkhemllKrQH3aNFXc0EcL2Q0ADZWLA3I12nOwkcxsYQV0sVCjUt+zMs6jjjfcexdab/Q==} dev: false /@mutinywallet/waila-wasm@0.2.6: diff --git a/src/components/KitchenSink.tsx b/src/components/KitchenSink.tsx index 5ae29298..b1ada034 100644 --- a/src/components/KitchenSink.tsx +++ b/src/components/KitchenSink.tsx @@ -42,7 +42,7 @@ type RefetchPeersType = ( info?: unknown ) => MutinyPeer[] | Promise | null | undefined; -function PeerItem(props: { peer: MutinyPeer }) { +function PeerItem(props: { peer: MutinyPeer; refetchPeers: RefetchPeersType }) { const i18n = useI18n(); const [state, _] = useMegaStore(); @@ -52,6 +52,7 @@ function PeerItem(props: { peer: MutinyPeer }) { } else { await state.mutiny_wallet?.delete_peer(props.peer.pubkey); } + await props.refetchPeers(); }; return ( @@ -108,7 +109,9 @@ function PeersList() { } > - {(peer) => } + {(peer) => ( + + )} @@ -145,7 +148,6 @@ function ConnectPeer(props: { refetchPeers: RefetchPeersType }) {