mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Closed alpha version 4.2.4.2: Fix build with Xcode.
This commit is contained in:
@@ -1961,14 +1961,6 @@ void ListWidget::checkActivation() {
|
|||||||
|| !markingMessagesRead()) {
|
|| !markingMessagesRead()) {
|
||||||
return;
|
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)) {
|
for (const auto &view : ranges::views::reverse(_items)) {
|
||||||
const auto bottom = itemTop(view) + view->height();
|
const auto bottom = itemTop(view) + view->height();
|
||||||
if (_visibleBottom + _itemsRevealHeight >= bottom) {
|
if (_visibleBottom + _itemsRevealHeight >= bottom) {
|
||||||
|
@@ -852,7 +852,7 @@ void TopBarUser::updateTitle(
|
|||||||
+ set->title;
|
+ set->title;
|
||||||
const auto linkIndex = 1;
|
const auto linkIndex = 1;
|
||||||
const auto entityEmojiData = Data::SerializeCustomEmojiId(
|
const auto entityEmojiData = Data::SerializeCustomEmojiId(
|
||||||
{ set->thumbnailDocumentId });
|
set->thumbnailDocumentId);
|
||||||
const auto entities = EntitiesInText{
|
const auto entities = EntitiesInText{
|
||||||
{ EntityType::CustomEmoji, 0, 1, entityEmojiData },
|
{ EntityType::CustomEmoji, 0, 1, entityEmojiData },
|
||||||
Ui::Text::Link(text, linkIndex).entities.front(),
|
Ui::Text::Link(text, linkIndex).entities.front(),
|
||||||
|
Reference in New Issue
Block a user