mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-30 17:16:46 +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