Slightly improved style of rpl text mapping.

This commit is contained in:
23rd
2024-04-30 17:35:04 +03:00
parent 2f0aa6ef05
commit 20a13663a6
5 changed files with 7 additions and 7 deletions
@@ -757,9 +757,9 @@ void DeleteChatBox(not_null<Ui::GenericBox*> box, not_null<PeerData*> peer) {
const auto label = Ui::CreateChild<Ui::FlatLabel>(
line,
peer->isSelf()
? tr::lng_saved_messages() | rpl::map(Ui::Text::Bold)
? tr::lng_saved_messages() | Ui::Text::ToBold()
: maybeUser
? tr::lng_profile_delete_conversation() | rpl::map(Ui::Text::Bold)
? tr::lng_profile_delete_conversation() | Ui::Text::ToBold()
: rpl::single(Ui::Text::Bold(peer->name())),
box->getDelegate()->style().title);
line->widthValue(