2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Merge remote-tracking branch 'tdesktop/dev' into dev

This commit is contained in:
RadRussianRus
2020-06-03 11:58:08 +03:00
278 changed files with 10109 additions and 7772 deletions

View File

@@ -27,6 +27,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "storage/localstorage.h"
#include "data/data_session.h"
#include "main/main_session.h"
#include "mtproto/facade.h"
#include "layout.h"
#include "facades.h"
#include "app.h"
@@ -403,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();
};
@@ -453,6 +453,7 @@ void SetupTrayContent(not_null<Ui::VerticalLayout*> container) {
}, minimized->lifetime());
}
#ifndef OS_WIN_STORE
if (Platform::IsWindows()) {
const auto sendto = addCheckbox(
tr::ktg_settings_add_sendto(tr::now),