From e71a067f4bf7f650e9fdf483832529a78125352c Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 21 Jun 2024 11:54:58 +0400 Subject: [PATCH] Fix build on Windows. --- Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp b/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp index fa4cbe348..026cacb08 100644 --- a/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp +++ b/Telegram/SourceFiles/info/bot/earn/info_earn_inner_widget.cpp @@ -365,8 +365,8 @@ void InnerWidget::fill() { { 0, -st::moderateBoxExpandInnerSkip, 0, 0 }, true)); const auto context = Core::MarkedTextContext{ - .customEmojiRepaint = [=] { label->update(); }, .session = session, + .customEmojiRepaint = [=] { label->update(); }, }; const auto process = [=] { const auto amount = input->getLastText().toDouble(); @@ -447,8 +447,8 @@ void InnerWidget::fill() { const auto was = base::unixtime::serialize(dt); const auto context = Core::MarkedTextContext{ - .customEmojiRepaint = [=] { lockedLabelBottom->update(); }, .session = session, + .customEmojiRepaint = [=] { lockedLabelBottom->update(); }, }; const auto emoji = Ui::Text::SingleCustomEmoji( session->data().customEmojiManager().registerInternalEmoji(