desktop: opening SimpleX links inside the app (#3738)

This commit is contained in:
Stanislav Dmitrenko authored and GitHub committed 2024-01-23 17:05:19 +00:00
1 parent 6b7c13f20a
commit 1bb98706a6
1 file changed
+1 -1
@@ -36,7 +36,7 @@ fun WhatsNewView(viaSettings: Boolean = false, close: () -> Unit) {
Icon(
painterResource(MR.images.ic_open_in_new), stringResource(titleId), tint = MaterialTheme.colors.primary,
modifier = Modifier
.clickable { uriHandler.openUriCatching(link) }
.clickable { if (link.startsWith("simplex:")) uriHandler.openVerifiedSimplexUri(link) else uriHandler.openUriCatching(link) }
)
}