Skip to content
Commit 79facfca authored by Ismael Asensio's avatar Ismael Asensio
Browse files

applets/weather: Fix system tray detection

The applet needs to check weather it is in the system tray
to avoid showing a text label beside the icon.

As the property is a flag, it needs a bitwise operator
instead of a plain equality. This also adds a second check
(in practice both are true, but better safe than sorry)

Additionally, also hide the option completely instead of
showing it disabled, which can be confusing.

(cherry picked from commit 271f900e)
parent 38a76b1c
Pipeline #268407 passed with stage
in 2 minutes and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment