Skip to content

Commit

Permalink
Fix initial volume on app-open.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 12fd8d3761366836415758305718fbb3f26f9d40
  • Loading branch information
cpojer committed Nov 29, 2024
1 parent 32f560c commit be6f390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/AudioPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import { Howl, Howler } from 'howler';

export type AudioVolumeType = 'master' | 'music' | 'sound';

// Keep in sync with `ares/index.html`.
const storageKeys = {
master: '::AC::volume',
music: '::AC::volume-music',
sound: '::AC::volume-sound',
} as const;

// Keep in sync with `ares/index.html`.
const pausedKey = '::AC::paused';

const isMusic = (name: SoundName | SongName): name is SongName =>
Expand Down

0 comments on commit be6f390

Please sign in to comment.