2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use a shorter phrase for bot policy.

This commit is contained in:
John Preston
2024-10-21 11:55:53 +04:00
parent 343ffc23eb
commit e8d87d37bb
3 changed files with 2 additions and 2 deletions

View File

@@ -2095,7 +2095,6 @@ void ActionsFiller::addBotCommandActions(not_null<UserData*> user) {
rpl::single(true),
openPrivacyPolicy,
nullptr);
}
void ActionsFiller::addReportAction() {

View File

@@ -592,7 +592,7 @@ bool Panel::showWebview(
callback(tr::lng_bot_terms(tr::now), [=] {
File::OpenUrl(tr::lng_mini_apps_tos_url(tr::now));
}, &st::menuIconGroupLog);
callback(tr::lng_profile_bot_privacy(tr::now), [=] {
callback(tr::lng_bot_privacy(tr::now), [=] {
_delegate->botOpenPrivacyPolicy();
}, &st::menuIconAntispam);
}