mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -2509,7 +2509,7 @@ void MainWidget::updateDialogsWidthAnimated() {
|
||||
}
|
||||
auto dialogsWidth = _dialogsWidth;
|
||||
updateWindowAdaptiveLayout();
|
||||
if (!Core::App().settings().dialogsWidthRatio(nochat)
|
||||
if (Core::App().settings().dialogsWidthRatio(nochat) == 0.
|
||||
&& (_dialogsWidth != dialogsWidth
|
||||
|| _a_dialogsWidth.animating())) {
|
||||
_dialogs->startWidthAnimation();
|
||||
|
Reference in New Issue
Block a user