From 28002900f9f2a4b2d85c944ed1cf1051658e41eb Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Wed, 23 Jul 2025 16:28:07 -0700 Subject: [PATCH] Fix popup not disappearing sometimes when uninstalling --- src/main.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main.tsx b/src/main.tsx index 572daf7..8f7e3ba 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -151,11 +151,9 @@ function App () { ) const updatedConfig = { ...prev, list: updatedList } writeVersionsConfig(updatedConfig) - if (popupMode === 2) { - setManagingVersion(null) - setFadeOut(true) - setTimeout(() => setShowPopup(false), 200) - } + setManagingVersion(null) + setFadeOut(true) + setTimeout(() => setShowPopup(false), 200) return updatedConfig }) }