We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4207694 commit 8e926e3Copy full SHA for 8e926e3
1 file changed
app/src/main/java/to/bitkit/ui/screens/widgets/headlines/HeadlineCard.kt
@@ -44,6 +44,7 @@ fun HeadlineCard(
44
.clip(shape = MaterialTheme.shapes.medium)
45
.background(Colors.White10)
46
.clickableAlpha {
47
+ if (link.isEmpty()) return@clickableAlpha
48
val intent = Intent(Intent.ACTION_VIEW, link.toUri())
49
context.startActivity(intent)
50
}
@@ -105,6 +106,7 @@ fun HeadlineCardSmall(
105
106
107
108
109
110
111
112
0 commit comments