mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Closed alpha version 4.2.4.2: Fix build with Xcode.
This commit is contained in:
parent
ba9f5d138a
commit
a088791752
2 changed files with 1 additions and 9 deletions
|
@ -1961,14 +1961,6 @@ void ListWidget::checkActivation() {
|
|||
|| !markingMessagesRead()) {
|
||||
return;
|
||||
}
|
||||
const auto h = height();
|
||||
const auto t = _visibleTop;
|
||||
const auto b = _visibleBottom;
|
||||
const auto r = _itemsRevealHeight;
|
||||
auto a = 0;
|
||||
for (const auto &view : _itemRevealPending) {
|
||||
a += view->height();
|
||||
}
|
||||
for (const auto &view : ranges::views::reverse(_items)) {
|
||||
const auto bottom = itemTop(view) + view->height();
|
||||
if (_visibleBottom + _itemsRevealHeight >= bottom) {
|
||||
|
|
|
@ -852,7 +852,7 @@ void TopBarUser::updateTitle(
|
|||
+ set->title;
|
||||
const auto linkIndex = 1;
|
||||
const auto entityEmojiData = Data::SerializeCustomEmojiId(
|
||||
{ set->thumbnailDocumentId });
|
||||
set->thumbnailDocumentId);
|
||||
const auto entities = EntitiesInText{
|
||||
{ EntityType::CustomEmoji, 0, 1, entityEmojiData },
|
||||
Ui::Text::Link(text, linkIndex).entities.front(),
|
||||
|
|
Loading…
Add table
Reference in a new issue