From 9923cc9b312bcd0808c1db821a1254faabe03e3d Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 14 Sep 2022 23:15:00 +0400 Subject: [PATCH] Beta version 4.1.2: Fix build with Xcode. --- .../SourceFiles/history/view/history_view_replies_section.cpp | 2 -- .../SourceFiles/history/view/history_view_scheduled_section.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp index befb660ec..3a1b38450 100644 --- a/Telegram/SourceFiles/history/view/history_view_replies_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_replies_section.cpp @@ -571,8 +571,6 @@ void RepliesWidget::setupComposeControls() { [=] { _choosingAttach = false; chooseAttach(); }); }, lifetime()); - using Selector = ChatHelpers::TabbedSelector; - _composeControls->fileChosen( ) | rpl::start_with_next([=](ChatHelpers::FileChosen data) { controller()->hideLayer(anim::type::normal); diff --git a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp index 42f3a3b8f..97acfa879 100644 --- a/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp +++ b/Telegram/SourceFiles/history/view/history_view_scheduled_section.cpp @@ -261,8 +261,6 @@ void ScheduledWidget::setupComposeControls() { [=] { _choosingAttach = false; chooseAttach(); }); }, lifetime()); - using Selector = ChatHelpers::TabbedSelector; - _composeControls->fileChosen( ) | rpl::start_with_next([=](ChatHelpers::FileChosen data) { controller()->hideLayer(anim::type::normal);