Merge tag '13.11.0' into io
# Conflicts: # packages/backend/src/server/ServerService.ts # packages/backend/src/server/api/endpoints/notes/timeline.ts
This commit is contained in:
commit
0e4fe59d57
650 changed files with 32472 additions and 9221 deletions
|
@ -133,8 +133,8 @@ export function setVolume(audio: HTMLAudioElement, volume: number): HTMLAudioEle
|
|||
return audio;
|
||||
}
|
||||
|
||||
export function play(type: string) {
|
||||
const sound = ColdDeviceStorage.get('sound_' + type as any);
|
||||
export function play(type: 'noteMy' | 'note' | 'antenna' | 'channel' | 'notification') {
|
||||
const sound = ColdDeviceStorage.get(`sound_${type}`);
|
||||
if (sound.type == null) return;
|
||||
playFile(sound.type, sound.volume);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue