fix: Status taskbar button and the Status window title bar are missing

... the Status icon in OS Windows 10 (new regression in 0.10)

fix a fatal typo when refactoring to use `main_constants.IS_MACOS` :)

Fixes #9791
This commit is contained in:
Lukáš Tinkl 2023-03-22 10:26:00 +01:00 committed by Lukáš Tinkl
parent 9af1734c6a
commit 3b2a8f4253
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ proc determineStatusAppIconPath(): string =
if defined(production):
if main_constants.IS_MACOS:
return "" # not used in macOS
elif main_constants.IS_MACOS:
elif defined(windows):
return "/../resources/status.svg"
else:
return "/../status.svg"