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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user