Skip to content
Commit 271f900e 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.
parent c83373cc
Pipeline #268406 passed with stage
in 4 minutes and 27 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