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:
@@ -2672,7 +2672,7 @@ void Widget::showForum(
|
||||
const Window::SectionShow ¶ms) {
|
||||
const auto nochat = !controller()->mainSectionShown();
|
||||
if (!params.childColumn
|
||||
|| !Core::App().settings().dialogsWidthRatio(nochat)
|
||||
|| (Core::App().settings().dialogsWidthRatio(nochat) == 0.)
|
||||
|| (_layout != Layout::Main)
|
||||
|| OptionForumHideChatsList.value()) {
|
||||
changeOpenedForum(forum, params.animated);
|
||||
|
Reference in New Issue
Block a user