Moved out fixing of ampersand from text in actions to single place.

This commit is contained in:
23rd
2024-11-26 15:23:26 +03:00
parent cd5a1980c9
commit cb2972b145
5 changed files with 21 additions and 15 deletions
@@ -1402,7 +1402,8 @@ void Suggestions::setupChats() {
.removeOneText = tr::lng_recent_remove(tr::now),
.removeOne = removeOne,
.removeAllText = tr::lng_recent_hide_top(
tr::now).replace('&', u"&&"_q),
tr::now,
Ui::Text::FixAmpersandInAction),
.removeAllConfirm = tr::lng_recent_hide_sure(tr::now),
.removeAll = removeAll,
});