From aff7bf0d8aef0084a8d17914cfa64b4a9a24d6b4 Mon Sep 17 00:00:00 2001 From: Bojan Mojsilovic Date: Fri, 12 Jan 2024 13:46:53 +0100 Subject: [PATCH] Fix settings sync after reconnection --- src/contexts/SettingsContext.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/contexts/SettingsContext.tsx b/src/contexts/SettingsContext.tsx index c419a6b..eb96226 100644 --- a/src/contexts/SettingsContext.tsx +++ b/src/contexts/SettingsContext.tsx @@ -514,6 +514,8 @@ export const SettingsProvider = (props: { children: ContextChildren }) => { return; } + if (publicKey) return; + publicKey = account?.publicKey; const initFeeds = initAvailableFeeds(publicKey);