mirror of https://github.com/lcpz/lain.git
widget.weather: fix check in notification #479
This commit is contained in:
parent
3236575b52
commit
80e41c1e7b
|
@ -67,7 +67,7 @@ local function factory(args)
|
|||
preset = notification_preset,
|
||||
text = weather.notification_text,
|
||||
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
|
||||
|
||||
|
|
2
wiki
2
wiki
|
@ -1 +1 @@
|
|||
Subproject commit 877b34bf5624caee917c0d81bc553b60dbdeabe2
|
||||
Subproject commit ddc6aa0649d4fd091c1a73784d0507feb86eaf5f
|
Loading…
Reference in New Issue