diff --git a/src/widgets/space-tools-dock/ui/SpaceToolsDockWidget.tsx b/src/widgets/space-tools-dock/ui/SpaceToolsDockWidget.tsx index 724bcd5..f69e191 100644 --- a/src/widgets/space-tools-dock/ui/SpaceToolsDockWidget.tsx +++ b/src/widgets/space-tools-dock/ui/SpaceToolsDockWidget.tsx @@ -35,7 +35,7 @@ interface SpaceToolsDockWidgetProps { sceneRecommendedTimerLabel: string; onRoomSelect: (roomId: string) => void; onTimerSelect: (timerLabel: string) => void; - onSelectPreset: (presetId: string) => void; + onQuickSoundSelect: (presetId: string) => void; onCaptureThought: (note: string) => RecentThought | null; onDeleteThought: (thoughtId: string) => RecentThought | null; onSetThoughtCompleted: (thoughtId: string, isCompleted: boolean) => RecentThought | null; @@ -63,7 +63,7 @@ export const SpaceToolsDockWidget = ({ sceneRecommendedTimerLabel, onRoomSelect, onTimerSelect, - onSelectPreset, + onQuickSoundSelect, onCaptureThought, onDeleteThought, onSetThoughtCompleted, @@ -382,7 +382,7 @@ export const SpaceToolsDockWidget = ({ onVolumeChange={handleVolumeChange} onVolumeKeyDown={handleVolumeKeyDown} onSelectPreset={(presetId) => { - onSelectPreset(presetId); + onQuickSoundSelect(presetId); setOpenPopover(null); }} /> diff --git a/src/widgets/space-workspace/ui/SpaceWorkspaceWidget.tsx b/src/widgets/space-workspace/ui/SpaceWorkspaceWidget.tsx index e6f1b73..90c8375 100644 --- a/src/widgets/space-workspace/ui/SpaceWorkspaceWidget.tsx +++ b/src/widgets/space-workspace/ui/SpaceWorkspaceWidget.tsx @@ -314,7 +314,7 @@ export const SpaceWorkspaceWidget = () => { selectedPresetId={selectedPresetId} onRoomSelect={handleSelectRoom} onTimerSelect={(timerLabel) => handleSelectTimer(timerLabel, true)} - onSelectPreset={(presetId) => handleSelectSound(presetId, true)} + onQuickSoundSelect={(presetId) => handleSelectSound(presetId, true)} sceneRecommendedSoundLabel={selectedRoom.recommendedSound} sceneRecommendedTimerLabel={resolveTimerLabelFromPresetId(selectedRoom.recommendedTimerPresetId) ?? selectedTimerLabel} onResetToSceneRecommended={handleResetToSceneRecommended}