2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Custom title bar for macOS 10.10+ improved, colors in palette now.

This commit is contained in:
John Preston
2016-11-09 11:34:38 +03:00
parent 494254496e
commit 8ff3779c9a
13 changed files with 116 additions and 34 deletions

View File

@@ -103,7 +103,6 @@ MainWindow::MainWindow() {
Notify::unreadCounterUpdated();
}
});
subscribe(Global::RefUnreadCounterUpdate(), [this] { updateUnreadCounter(); });
resize(st::windowDefaultWidth, st::windowDefaultHeight);
@@ -388,12 +387,6 @@ void MainWindow::setupMain(const MTPUser *self) {
updateConnectingStatus();
}
void MainWindow::updateUnreadCounter() {
if (!Global::started() || App::quitting()) return;
psUpdateCounter();
}
void MainWindow::showSettings() {
if (_passcode) return;