Fix opening .ton links.

This commit is contained in:
John Preston
2024-08-01 16:36:13 +02:00
parent 2ff0ed50be
commit 74f7fa80b7
+1 -1
View File
@@ -239,7 +239,7 @@ bool UiIntegration::handleUrlClick(
Core::App().openLocalUrl(local, context);
return true;
} else if (local.startsWith(u"tonsite://"_q, Qt::CaseInsensitive)) {
Core::App().iv().showTonSite(url, context);
Core::App().iv().showTonSite(local, context);
return true;
} else if (local.startsWith(u"internal:"_q, Qt::CaseInsensitive)) {
Core::App().openInternalUrl(local, context);