1
0
Fork 0

fix typo in comment

master
Alexander Minges 2024-07-24 14:23:11 +02:00
parent 883958dc50
commit e9d2478e81
No known key found for this signature in database
GPG Key ID: 31FBDEF92DDB162B
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ const clock = new ClockFace({
if (locale.name === "en" || locale.name === "en_GB" || locale.name === "en_US") {
w_icon = chooseIcon(curr.txt === undefined ? "no data" : curr.txt);
} else {
// cannot use condition string to determine icon of language is not English; use weather code instead
// cannot use condition string to determine icon if language is not English; use weather code instead
const code = curr.code || -1;
if (code > 0) {
w_icon = chooseIconByCode(curr.code);