1
0

feat: simplify playPopSound setting check

This commit is contained in:
Dominik Pschenitschni
2024-07-05 14:24:53 +02:00
parent 5cf57a520c
commit 42c458a736
5 changed files with 11 additions and 9 deletions

View File

@ -879,7 +879,7 @@ function toggleTaskDone() {
done: !task.value.done,
}
if (newTask.done && authStore.settings.frontendSettings.playSoundWhenDone) {
if (newTask.done) {
playPopSound()
}