fixing a glitch at activity extension

This commit is contained in:
tibbi 2022-06-19 18:07:07 +02:00
parent 11288f0e8c
commit d5c4ade9a4

View file

@ -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) {