Skip to content

Commit

Permalink
fix: added additional failsafes for typos in api keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Tormak9970 committed Mar 19, 2024
1 parent c789c47 commit b1094c5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/controllers/SteamController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,10 @@ export class SteamController {
ToastController.showWarningToast(`Removed ${Math.abs(manualGames.length - originalManualGames.length)} duplicate manual games!`);
}

ToastController.showSuccessToast("Games Loaded!");
if ([ ...Object.values(shortcuts), ...get(steamGames) ].length > 0) {
ToastController.showSuccessToast("Games Loaded!");
} else {
ToastController.showWarningToast("Failed to load games!");
}
}
}

0 comments on commit b1094c5

Please sign in to comment.