2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Call scheme handler registration after opening main window

To avoid system dialog being under it
This commit is contained in:
Ilya Fedin
2023-01-18 09:33:14 +04:00
committed by John Preston
parent 5910efa0bd
commit 95979b1ad9
2 changed files with 2 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ void Application::run() {
if (const auto old = Local::oldSettingsVersion(); old < AppVersion) {
Platform::InstallLauncher();
RegisterUrlScheme();
InvokeQueued(this, [] { RegisterUrlScheme(); });
Platform::NewVersionLaunched(old);
}