Skip to content

Commit

Permalink
Fix getGameInfo and prefix when uninstalling (#2808)
Browse files Browse the repository at this point in the history
  • Loading branch information
arielj committed Jun 21, 2023
1 parent 59a216a commit 6303f40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/backend/storeManagers/legendary/library.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const library: Map<string, GameInfo> = new Map()

export async function initLegendaryLibraryManager() {
loadGamesInAccount()
refreshInstalled()
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/components/UI/UninstallModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const UninstallModal: React.FC<UninstallModalProps> = function ({
})
setIsNative(isNative)

if (!isNative || isDlc) {
if (isDlc) {
return
}

Expand Down

0 comments on commit 6303f40

Please sign in to comment.