widget.weather: fix check in notification #479
This commit is contained in:
parent
3236575b52
commit
80e41c1e7b
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ local function factory(args)
|
||||||
preset = notification_preset,
|
preset = notification_preset,
|
||||||
text = weather.notification_text,
|
text = weather.notification_text,
|
||||||
icon = weather.icon_path,
|
icon = weather.icon_path,
|
||||||
timeout = type(seconds == "number") and seconds or notification_preset.timeout
|
timeout = type(seconds) == "number" and seconds or notification_preset.timeout
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
||||||
Subproject commit 877b34bf5624caee917c0d81bc553b60dbdeabe2
|
Subproject commit ddc6aa0649d4fd091c1a73784d0507feb86eaf5f
|
Loading…
Add table
Reference in a new issue