Handle tonsite:// links from the system.

This commit is contained in:
John Preston
2024-07-30 19:19:30 +02:00
parent fb9ce6d3a8
commit bb6c94ef4f
5 changed files with 37 additions and 18 deletions
+1 -2
View File
@@ -1107,8 +1107,7 @@ void Instance::showTonSite(
case Type::OpenPage:
case Type::OpenLink:
if (urlChecked) {
File::OpenUrl(event.url);
closeAll();
UrlClickHandler::Open(event.url);
} else if (tonsite) {
showTonSite(event.url);
}