mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +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()) {
|
||||
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(),
|
||||
|
Reference in New Issue
Block a user