Keep installed date

This commit is contained in:
Lncvrt committed 2026-07-29 07:25:14 -07:00
1 parent 2b061c2c38
commit 577f12f669
1 file changed
+1 -12
+1 -12
View File
@@ -22,9 +22,7 @@ export default function ManageVersionPopup () {
setPopupMode, setPopupMode,
setSelectedVersionList, setSelectedVersionList,
downloadVersions, downloadVersions,
uninstallVersion, uninstallVersion
versions,
launchesList
} = useGlobal() } = useGlobal()
const [versionSize, setVersionSize] = useState<number>(0) const [versionSize, setVersionSize] = useState<number>(0)
@@ -115,15 +113,6 @@ export default function ManageVersionPopup () {
onClick={async () => { onClick={async () => {
closePopup() closePopup()
uninstallVersion(managingVersion) uninstallVersion(managingVersion)
if (!versionInfo) return
const gameLaunches = { ...launchesList[versionInfo.game] }
delete gameLaunches[versionInfo.id]
await versions?.set('launches', {
...launchesList,
[versionInfo.game]: gameLaunches
})
}} }}
title='Click to uninstall this game. This will NOT remove any progress or any save files.' title='Click to uninstall this game. This will NOT remove any progress or any save files.'
> >