Use distinct strings for groups / channels noforwards.
This commit is contained in:
parent
0f0ade54a7
commit
40330afbd3
|
@ -224,7 +224,11 @@ void Controller::createContent() {
|
||||||
_noForwardsSavedValue = toggled;
|
_noForwardsSavedValue = toggled;
|
||||||
}, _wrap->lifetime());
|
}, _wrap->lifetime());
|
||||||
AddSkip(_wrap.get());
|
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) {
|
if (_linkOnly) {
|
||||||
_controls.inviteLinkWrap->show(anim::type::instant);
|
_controls.inviteLinkWrap->show(anim::type::instant);
|
||||||
|
|
Loading…
Reference in New Issue