Various fixes I forgot to push

This commit is contained in:
MathMan05
2024-06-22 11:53:06 -05:00
parent 95f6bc202d
commit f64c5f02f2
6 changed files with 21 additions and 17 deletions

View File

@@ -124,12 +124,12 @@ class voice{
return ["three","zip","square","beep"];
}
static setNotificationSound(sound){
let userinfos=JSON.parse(localStorage.getItem("userinfos"));
let userinfos=getBulkInfo();
userinfos.preferances.notisound=sound;
localStorage.setItem("userinfos",JSON.stringify(userinfos));
}
static getNotificationSound(){
let userinfos=JSON.parse(localStorage.getItem("userinfos"));
let userinfos=getBulkInfo();
return userinfos.preferances.notisound;
}
}