fixing a glitch at activity extension
This commit is contained in:
parent
11288f0e8c
commit
d5c4ade9a4
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ fun Activity.launchViewIntent(url: String) {
|
|||
ensureBackgroundThread {
|
||||
Intent(Intent.ACTION_VIEW, Uri.parse(url)).apply {
|
||||
try {
|
||||
startActivity(intent)
|
||||
startActivity(this)
|
||||
} catch (e: ActivityNotFoundException) {
|
||||
toast(R.string.no_browser_found)
|
||||
} catch (e: Exception) {
|
||||
|
|
Loading…
Reference in a new issue