2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Implement possibility to hide taskbar icon on Linux

This commit is contained in:
Ilya Fedin
2020-10-16 07:02:05 +04:00
committed by John Preston
parent 49e96d857a
commit 8f5b136003
6 changed files with 119 additions and 6 deletions

View File

@@ -352,7 +352,7 @@ void SetupSystemIntegrationContent(not_null<Ui::VerticalLayout*> container) {
return (workMode == dbiwmWindowOnly)
|| (workMode == dbiwmWindowAndTray);
};
const auto taskbar = Platform::IsWindows()
const auto taskbar = Platform::SkipTaskbarSupported()
? addCheckbox(
tr::lng_settings_workmode_window(),
taskbarEnabled())