mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Beta version 5.7.3: Fix build with Xcode.
This commit is contained in:
parent
1ed34c6fa0
commit
7e2e510d8a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue