From 273a2809cf995a9786768b22f83dfc8029463117 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 6 Dec 2022 22:13:15 +0400 Subject: [PATCH] Fix username change error display. --- Telegram/SourceFiles/boxes/username_box.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Telegram/SourceFiles/boxes/username_box.cpp b/Telegram/SourceFiles/boxes/username_box.cpp index fa4bcc96a..6422de285 100644 --- a/Telegram/SourceFiles/boxes/username_box.cpp +++ b/Telegram/SourceFiles/boxes/username_box.cpp @@ -362,6 +362,11 @@ void AddUsernameCheckLabel( Settings::AddSkip(wrapped, skip); Settings::AddSkip(container, skip); + container->add( + object_ptr>( + container, + std::move(wrapped)), + padding); rpl::combine( std::move(checkInfo),