mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Add Platform::AutostartSupported
This commit is contained in:
@@ -404,8 +404,7 @@ void SetupTrayContent(not_null<Ui::VerticalLayout*> container) {
|
||||
}, taskbar->lifetime());
|
||||
}
|
||||
|
||||
#ifndef OS_WIN_STORE
|
||||
if (Platform::IsWindows() || Platform::IsLinux()) {
|
||||
if (Platform::AutostartSupported()) {
|
||||
const auto minimizedToggled = [] {
|
||||
return cStartMinimized() && !Global::LocalPasscode();
|
||||
};
|
||||
@@ -454,6 +453,7 @@ void SetupTrayContent(not_null<Ui::VerticalLayout*> container) {
|
||||
}, minimized->lifetime());
|
||||
}
|
||||
|
||||
#ifndef OS_WIN_STORE
|
||||
if (Platform::IsWindows()) {
|
||||
const auto sendto = addCheckbox(
|
||||
tr::lng_settings_add_sendto(tr::now),
|
||||
|
Reference in New Issue
Block a user