volume: fix error on mouse leave

naughty destroy is expecting a nil argument or a real notification,
using `{}` triggers an error on destroy
This commit is contained in:
Aurélien LAJOIE 2020-02-08 12:00:13 +01:00
parent 326d11e95b
commit 343a67f7e5

View file

@ -57,7 +57,7 @@ local function worker(args)
end
}
local notification = {}
local notification
local volume_icon_name="audio-volume-high-symbolic"
local function get_notification_text(txt)