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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user