mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Hide push to talk release delay option by default.
This commit is contained in:
@@ -746,13 +746,8 @@ auto GroupCall::ensureGlobalShortcutManager()
|
||||
|
||||
void GroupCall::applyGlobalShortcutChanges() {
|
||||
auto &settings = Core::App().settings();
|
||||
if (!settings.groupCallPushToTalk()) {
|
||||
_shortcutManager = nullptr;
|
||||
_pushToTalk = nullptr;
|
||||
return;
|
||||
} else if (settings.groupCallPushToTalkShortcut().isEmpty()) {
|
||||
settings.setGroupCallPushToTalk(false);
|
||||
Core::App().saveSettingsDelayed();
|
||||
if (!settings.groupCallPushToTalk()
|
||||
|| settings.groupCallPushToTalkShortcut().isEmpty()) {
|
||||
_shortcutManager = nullptr;
|
||||
_pushToTalk = nullptr;
|
||||
return;
|
||||
|
Reference in New Issue
Block a user