Updated on 2026-08-14
This commit is contained in:
parent
742e9e4043
commit
f14be4f645
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue