2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Fix build with Xcode.

This commit is contained in:
John Preston
2024-05-24 16:09:01 +04:00
parent 364f62660c
commit 36db1105a2
2 changed files with 2 additions and 2 deletions

View File

@@ -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();