remove useless comment now

This commit is contained in:
Sakooooo 2024-09-05 07:21:07 +04:00
parent 3b5fdcb31e
commit 826dd5d4b7
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -114,10 +114,6 @@ function Volume() {
}) })
const volume = Widget.Label({ const volume = Widget.Label({
// label: Math.round(audio.speaker.volume * 100).toString(),
// label: !audio.speaker.is_muted
// ? ` ${Math.round(audio.speaker.volume * 100).toString()}`
// : "",
label: audio.speaker.bind("volume").as((x) => `${Math.round(x * 100)}%`) label: audio.speaker.bind("volume").as((x) => `${Math.round(x * 100)}%`)
}) })