From 9251e6faba96b4c27ff987c793cb8d26572dfa4f Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 5 Apr 2024 17:30:41 +0400 Subject: [PATCH] Use better title in boost box. --- Telegram/SourceFiles/ui/boxes/boost_box.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/ui/boxes/boost_box.cpp b/Telegram/SourceFiles/ui/boxes/boost_box.cpp index 008726ee6..691d84f16 100644 --- a/Telegram/SourceFiles/ui/boxes/boost_box.cpp +++ b/Telegram/SourceFiles/ui/boxes/boost_box.cpp @@ -397,7 +397,9 @@ void BoostBox( close->parentWidget(), MakeTitle( box, - rpl::duplicate(title), + (data.group + ? tr::lng_boost_group_button + : tr::lng_boost_channel_button)(), rpl::duplicate(repeated), false)); const auto titleInner = faded.data();