From a0c76972808e2fa405be110b69d305077005f50e Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 23 Dec 2024 21:44:41 +0400 Subject: [PATCH] Fix affiliate program ending confirmation box. Fixes #28780. --- .../SourceFiles/info/bot/starref/info_bot_starref_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp index 1b89ba525..524243638 100644 --- a/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp +++ b/Telegram/SourceFiles/info/bot/starref/info_bot_starref_common.cpp @@ -37,6 +37,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "ui/new_badges.h" #include "ui/painter.h" #include "ui/vertical_list.h" +#include "styles/style_boxes.h" #include "styles/style_chat.h" #include "styles/style_chat_helpers.h" #include "styles/style_dialogs.h" @@ -753,7 +754,7 @@ object_ptr ConfirmEndBox(Fn finish) { object_ptr( box, text(Ui::Text::RichLangValue), - st::boxLabel), + st::blockUserConfirmation), QMargins(st::boxTextFont->height, 0, 0, 0)), margins); padded->paintRequest() | rpl::start_with_next([=] {