Update hotkey.ts to display the name of the
selected preset Signed-off-by: hashcoko <hashcoko@gmail.com>
This commit is contained in:
@@ -70,7 +70,7 @@ function changeToPreset(num:number){
|
|||||||
let db = get(DataBase)
|
let db = get(DataBase)
|
||||||
let pres = db.botPresets
|
let pres = db.botPresets
|
||||||
if(pres.length > num){
|
if(pres.length > num){
|
||||||
alertToast(`Changed to Preset ${num+1}`)
|
alertToast(`Changed to Preset ${num+1} || Preset name : ${pres[num].name}`)
|
||||||
changeToPreset2(num)
|
changeToPreset2(num)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user