mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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();
|
_sections.clear();
|
||||||
enumerateSections([&](Section §ion) {
|
enumerateSections([&](Section §ion) {
|
||||||
_sections.emplace_back(not_null{ §ion }, 0, false);
|
_sections.push_back({ not_null{ §ion }, 0, false });
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -387,7 +387,7 @@ void ChatsFiltersTabs::reorderSections(int oldIndex, int newIndex) {
|
||||||
_sections.clear();
|
_sections.clear();
|
||||||
auto left = 0;
|
auto left = 0;
|
||||||
enumerateSections([&](Section §ion) {
|
enumerateSections([&](Section §ion) {
|
||||||
_sections.emplace_back(not_null{ §ion }, 0, false);
|
_sections.push_back({ not_null{ §ion }, 0, false });
|
||||||
section.left = left;
|
section.left = left;
|
||||||
left += section.width;
|
left += section.width;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue