Use distinct strings for groups / channels noforwards.

This commit is contained in:
John Preston 2021-11-30 18:07:16 +04:00
parent 0f0ade54a7
commit 40330afbd3
1 changed files with 5 additions and 1 deletions

View File

@ -224,7 +224,11 @@ void Controller::createContent() {
_noForwardsSavedValue = toggled;
}, _wrap->lifetime());
AddSkip(_wrap.get());
AddDividerText(_wrap.get(), tr::lng_manage_peer_no_forwards_about());
AddDividerText(
_wrap.get(),
(_isGroup
? tr::lng_manage_peer_no_forwards_about
: tr::lng_manage_peer_no_forwards_about_channel)());
}
if (_linkOnly) {
_controls.inviteLinkWrap->show(anim::type::instant);