diff --git a/internal/frontend/qml/Bridge.qml b/internal/frontend/qml/Bridge.qml index 3c700477..724a4ff7 100644 --- a/internal/frontend/qml/Bridge.qml +++ b/internal/frontend/qml/Bridge.qml @@ -109,14 +109,15 @@ QtObject { property SystemTrayIcon _trayIcon: SystemTrayIcon { id: trayIcon visible: true - iconSource: "./icons/ic-systray.svg" + icon.source: "./icons/systray-mono.png" + icon.mask: true // make sure that systems like macOS will use proper color + tooltip: `Proton Mail Bridge v${go.version}` onActivated: { function calcStatusWindowPosition() { function isInInterval(num, lower_limit, upper_limit) { return lower_limit <= num && num <= upper_limit } - // First we get icon center position. // On some platforms (X11 / Wayland) Qt does not provide icon geometry info. // In this case we rely on cursor position diff --git a/internal/frontend/qml/icons/systray-mono.png b/internal/frontend/qml/icons/systray-mono.png new file mode 100644 index 00000000..7d152a4f Binary files /dev/null and b/internal/frontend/qml/icons/systray-mono.png differ