2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Add group call settings box.

This commit is contained in:
John Preston
2020-11-28 19:18:51 +03:00
parent abb81c764e
commit 9e5006dd67
11 changed files with 369 additions and 219 deletions

View File

@@ -191,10 +191,9 @@ void GroupPanel::initControls() {
_hangup->setClickedCallback([=] { hangup(false); });
_settings->setClickedCallback([=] {
_layerBg->showBox(Box(
GroupCallSettingsBox,
[=] { copyShareLink(); },
[=] { hangup(true); }));
if (_call) {
_layerBg->showBox(Box(GroupCallSettingsBox, _call));
}
});
_settings->setText(tr::lng_menu_settings());