diff --git a/linkpreview/src/main/java/com/nick/mowen/linkpreview/view/LinkCardView.kt b/linkpreview/src/main/java/com/nick/mowen/linkpreview/view/LinkCardView.kt index eeba60f..ed352f4 100644 --- a/linkpreview/src/main/java/com/nick/mowen/linkpreview/view/LinkCardView.kt +++ b/linkpreview/src/main/java/com/nick/mowen/linkpreview/view/LinkCardView.kt @@ -83,8 +83,7 @@ open class LinkCardView : FrameLayout, View.OnClickListener { } } ImageType.YOUTUBE -> context.startActivity(Intent(Intent.ACTION_VIEW, url.toUri())) - else -> { - } + else -> Unit } } }