Use "Remove" button for Custom Games#517
Conversation
📝 WalkthroughWalkthroughThe uninstall/delete button text in LibraryAppScreen is now conditionally set based on the container type. For CUSTOM_GAME containers, the button displays "Remove"; otherwise, it displays "Uninstall". The button's behavior remains unchanged. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Nice one! |
Updated the "Uninstall" button to say "Remove" when viewing a Custom Game, since we don't actually delete the game files from the disk, only the library entry.
Implemented using
extractGameSourceFromContainerIdas suggested.Summary by cubic
Updated the Library screen to show “Remove” instead of “Uninstall” for Custom Games, since we only remove the library entry and don’t delete files. The label switches based on source using ContainerUtils.extractGameSourceFromContainerId.
Written for commit 447277b. Summary will update on new commits.
Summary by CodeRabbit