forked from Berry-Dash/launcher
Fix popup not disappearing sometimes when uninstalling
This commit is contained in:
@@ -151,11 +151,9 @@ function App () {
|
|||||||
)
|
)
|
||||||
const updatedConfig = { ...prev, list: updatedList }
|
const updatedConfig = { ...prev, list: updatedList }
|
||||||
writeVersionsConfig(updatedConfig)
|
writeVersionsConfig(updatedConfig)
|
||||||
if (popupMode === 2) {
|
setManagingVersion(null)
|
||||||
setManagingVersion(null)
|
setFadeOut(true)
|
||||||
setFadeOut(true)
|
setTimeout(() => setShowPopup(false), 200)
|
||||||
setTimeout(() => setShowPopup(false), 200)
|
|
||||||
}
|
|
||||||
return updatedConfig
|
return updatedConfig
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user