2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +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

@@ -678,11 +678,6 @@ MainMenu::MainMenu(
updatePhone();
}, lifetime());
_controller->session().serverConfig().phoneCallsEnabled.changes(
) | rpl::start_with_next([=] {
refreshMenu();
}, lifetime());
using Window::Theme::BackgroundUpdate;
Window::Theme::Background()->updates(
) | rpl::start_with_next([=](const BackgroundUpdate &update) {