サウンド設定など
This commit is contained in:
parent
f456feb3ff
commit
e7205d9cc2
18 changed files with 125 additions and 17 deletions
|
@ -197,6 +197,10 @@ export default class MiOS extends EventEmitter {
|
|||
this.store.dispatch('mergeMe', {
|
||||
hasUnreadMessagingMessage: true
|
||||
});
|
||||
|
||||
const audio = new Audio(`/assets/sounds/${this.store.state.device.sfxChatBg}.mp3`);
|
||||
audio.volume = this.store.state.device.sfxVolume;
|
||||
audio.play();
|
||||
});
|
||||
|
||||
main.on('readAllAntennas', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue