Skip to content

Commit

Permalink
Beta version 5.7.3: Fix build with Xcode.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Nov 12, 2024
1 parent 1ed34c6 commit 7e2e510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/ui/widgets/chat_filters_tabs_slider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void ChatsFiltersTabs::fitWidthToSections() {
{
_sections.clear();
enumerateSections([&](Section &section) {
_sections.emplace_back(not_null{ &section }, 0, false);
_sections.push_back({ not_null{ &section }, 0, false });
return true;
});
}
Expand Down Expand Up @@ -387,7 +387,7 @@ void ChatsFiltersTabs::reorderSections(int oldIndex, int newIndex) {
_sections.clear();
auto left = 0;
enumerateSections([&](Section &section) {
_sections.emplace_back(not_null{ &section }, 0, false);
_sections.push_back({ not_null{ &section }, 0, false });
section.left = left;
left += section.width;
return true;
Expand Down

0 comments on commit 7e2e510

Please sign in to comment.