From 8b0b32ee516acd7357f536422658d19d795a88a1 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Wed, 9 Oct 2019 12:40:15 -0600 Subject: [PATCH] Code cleanup --- .../main/java/com/nick/mowen/linkpreview/view/LinkCardView.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 } } }