diff --git a/Telegram/SourceFiles/settings/settings_information.cpp b/Telegram/SourceFiles/settings/settings_information.cpp index 303aa3dd7f..ab159ac2e2 100644 --- a/Telegram/SourceFiles/settings/settings_information.cpp +++ b/Telegram/SourceFiles/settings/settings_information.cpp @@ -135,7 +135,9 @@ ComposedBadge::ComposedBadge( rpl::combine( _unreadWidth.events_starting_with(_unread ? _unread->width() : 0), - _premiumWidth.events_starting_with(0), + _premiumWidth.events_starting_with(_badge.widget() + ? _badge.widget()->width() + : 0), _text.value(), button->sizeValue() ) | rpl::start_with_next([=](