Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-12 17:17:10 +03:00
parent 742e9e4043
commit f14be4f645
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ internal class CustomTabsUrlOpener : UrlOpener {
private fun openUrl(url: String, context: Context) {
if (url.isEmpty()) return
val browserIntent = Intent(Intent.ACTION_VIEW, url.toUri())
val browserIntent = Intent(Intent.ACTION_VIEW, url.trim().toUri())
runCatching {
if (checkCustomTabsAvailability(context, browserIntent)) {
context.startActivity(browserIntent)