From 57e050aa8037a7715f4290dfc017573a29621c73 Mon Sep 17 00:00:00 2001 From: shane-moore Date: Wed, 27 Mar 2024 08:52:45 -0700 Subject: [PATCH] chore: keep wallet connect status on logout --- layer/store/wallet.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layer/store/wallet.ts b/layer/store/wallet.ts index b035cc89..5e3fa594 100644 --- a/layer/store/wallet.ts +++ b/layer/store/wallet.ts @@ -472,9 +472,11 @@ export const useSharedWalletStore = defineStore('sharedWallet', { walletStore.$patch({ ...initialStateFactory(), queueStatus: StatusType.Idle, + phantomInstalled: walletStore.phantomInstalled, metamaskInstalled: walletStore.metamaskInstalled, okxWalletInstalled: walletStore.okxWalletInstalled, - walletConnectStatus: WalletConnectStatus.disconnected + walletConnectStatus: WalletConnectStatus.disconnected, + trustWalletInstalled: walletStore.trustWalletInstalled, }) } }