mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Use tr:: instead of langFactory and __rich.
This commit is contained in:
@@ -39,7 +39,7 @@ void ShowSearchFromBox(
|
||||
if (auto controller = createController()) {
|
||||
auto subscription = std::make_shared<rpl::lifetime>();
|
||||
auto box = Ui::show(Box<PeerListBox>(std::move(controller), [subscription](not_null<PeerListBox*> box) {
|
||||
box->addButton(langFactory(lng_cancel), [box, subscription] {
|
||||
box->addButton(tr::lng_cancel(), [box, subscription] {
|
||||
box->closeBox();
|
||||
});
|
||||
}), LayerOption::KeepOther);
|
||||
|
Reference in New Issue
Block a user