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

Don't check config.phonecalls_enabled value.

This commit is contained in:
John Preston
2022-02-09 14:59:13 +03:00
parent f57d21eaeb
commit 1501a6d8fc
5 changed files with 4 additions and 17 deletions

View File

@@ -177,11 +177,6 @@ TopBarWidget::TopBarWidget(
}
}, lifetime());
session().serverConfig().phoneCallsEnabled.changes(
) | rpl::start_with_next([=] {
updateControlsVisibility();
}, lifetime());
rpl::combine(
Core::App().settings().thirdSectionInfoEnabledValue(),
Core::App().settings().tabbedReplacedWithInfoValue()