mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-01-29 14:52:51 -05:00
implement unlocker selection #61
This commit is contained in:
14
src/App.tsx
14
src/App.tsx
@@ -21,6 +21,7 @@ import {
|
||||
SettingsDialog,
|
||||
ConflictDialog,
|
||||
DisclaimerDialog,
|
||||
UnlockerSelectionDialog,
|
||||
} from '@/components/dialogs'
|
||||
|
||||
// Game components
|
||||
@@ -64,6 +65,10 @@ function App() {
|
||||
handleSettingsClose,
|
||||
handleSmokeAPISettingsOpen,
|
||||
showToast,
|
||||
unlockerSelectionDialog,
|
||||
handleSelectCreamLinux,
|
||||
handleSelectSmokeAPI,
|
||||
closeUnlockerDialog,
|
||||
} = useAppContext()
|
||||
|
||||
// Conflict detection
|
||||
@@ -182,6 +187,15 @@ function App() {
|
||||
onClose={closeDialog}
|
||||
/>
|
||||
|
||||
{/* Unlocker Selection Dialog */}
|
||||
<UnlockerSelectionDialog
|
||||
visible={unlockerSelectionDialog.visible}
|
||||
gameTitle={unlockerSelectionDialog.gameTitle || ''}
|
||||
onClose={closeUnlockerDialog}
|
||||
onSelectCreamLinux={handleSelectCreamLinux}
|
||||
onSelectSmokeAPI={handleSelectSmokeAPI}
|
||||
/>
|
||||
|
||||
{/* Disclaimer Dialog - Shows AFTER everything is loaded */}
|
||||
<DisclaimerDialog visible={showDisclaimer} onClose={handleDisclaimerClose} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user