Updated fullscreen and started work for themes

This commit is contained in:
MathMan05 2024-06-08 11:14:00 -05:00
parent ca81f05665
commit dc8ba099da
6 changed files with 224 additions and 6 deletions

View file

@ -50,7 +50,7 @@ function lacechannel(c){
function createchannels(fincall){
let name="";
let catagory=1;
let catagory=2;
console.log(fincall)
channelselect=new fullscreen(
["vdiv",
@ -59,7 +59,8 @@ function createchannels(fincall){
function(e){
console.log(e)
catagory={"text":0,"voice":2,"announcement":5,"catagory":4}[e]
}
},
1
],
["textbox","Name of channel","",function(){
console.log(this)
@ -630,7 +631,10 @@ function genusersettings(){
if(newbio!==null){
thisuser.updatebio(newbio);
}
}]
}],
["select","Theme:",["Dark","Light"],e=>{
localStorage.setItem("theme",["Dark","Light"][e.target.selectedIndex]);
},["Dark","Light"].indexOf(localStorage.getItem("theme"))]
],
["vdiv",
["html",hypothetcialprofie]