mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Beta version 5.7.3: Fix build with Xcode.
This commit is contained in:
@@ -64,7 +64,7 @@ void ChatsFiltersTabs::fitWidthToSections() {
|
||||
{
|
||||
_sections.clear();
|
||||
enumerateSections([&](Section §ion) {
|
||||
_sections.emplace_back(not_null{ §ion }, 0, false);
|
||||
_sections.push_back({ not_null{ §ion }, 0, false });
|
||||
return true;
|
||||
});
|
||||
}
|
||||
@@ -387,7 +387,7 @@ void ChatsFiltersTabs::reorderSections(int oldIndex, int newIndex) {
|
||||
_sections.clear();
|
||||
auto left = 0;
|
||||
enumerateSections([&](Section §ion) {
|
||||
_sections.emplace_back(not_null{ §ion }, 0, false);
|
||||
_sections.push_back({ not_null{ §ion }, 0, false });
|
||||
section.left = left;
|
||||
left += section.width;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user