failsafes and more notification sounds

This commit is contained in:
MathMan05
2024-06-21 22:22:20 -05:00
parent ae43fd497a
commit 95f6bc202d
4 changed files with 78 additions and 11 deletions

View File

@@ -459,7 +459,11 @@ function genusersettings(){
["select","Theme:",["Dark","Light","WHITE"],e=>{
localStorage.setItem("theme",["Dark","Light","WHITE"][e.target.selectedIndex]);
setTheme();
},["Dark","Light","WHITE"].indexOf(localStorage.getItem("theme"))]
},["Dark","Light","WHITE"].indexOf(localStorage.getItem("theme"))],
["select","Notification sound:",voice.sounds,e=>{
voice.setNotificationSound(voice.sounds[e.target.selectedIndex]);
voice.noises(voice.sounds[e.target.selectedIndex]);
},voice.sounds.indexOf(voice.getNotificationSound())]
],
["vdiv",
["html",hypothetcialprofie]