From 6c12a33aa6b9a1badba8ee523f0eadcd2ecea9b5 Mon Sep 17 00:00:00 2001 From: Nick Oates Date: Thu, 1 Aug 2024 00:12:02 -0700 Subject: [PATCH] fix(BetterFolders): Close folders when switching accounts (#2748) --- src/plugins/betterFolders/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/betterFolders/index.tsx b/src/plugins/betterFolders/index.tsx index d0e8cf34..072f4ee6 100644 --- a/src/plugins/betterFolders/index.tsx +++ b/src/plugins/betterFolders/index.tsx @@ -249,6 +249,10 @@ export default definePlugin({ dispatchingFoldersClose = false; }); } + }, + + LOGOUT() { + closeFolders(); } },