mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-12 13:39:58 +02:00
add in-app prompt for system audio connection
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { useFullScreenPlayerStore, useSettingsStore } from '/@/renderer/store';
|
||||
|
||||
export function closeLocalVisualizerSurfaces(): void {
|
||||
const fullScreen = useFullScreenPlayerStore.getState();
|
||||
fullScreen.actions.setStore({
|
||||
...(fullScreen.expanded && fullScreen.activeTab === 'visualizer'
|
||||
? { activeTab: 'queue' as const }
|
||||
: {}),
|
||||
visualizerExpanded: false,
|
||||
});
|
||||
|
||||
useSettingsStore.getState().actions.setSettings({
|
||||
general: { showVisualizerInSidebar: false },
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user