device switch

This commit is contained in:
2026-02-20 21:58:49 -05:00
parent 0c16353e2e
commit 1a5efceebd
10 changed files with 78 additions and 8 deletions

View File

@@ -41,8 +41,9 @@ export function App() {
const audioNav = useAudioNavStore();
useMultimediaKeys({
playerFocused: () => nav.activeTab === TABS.PLAYER && nav.activeDepth > 0,
inputFocused: () => nav.inputFocused,
playerFocused: () =>
nav.activeTab() === TABS.PLAYER && nav.activeDepth() > 0,
inputFocused: () => nav.inputFocused(),
hasEpisode: () => !!audio.currentEpisode(),
});