From 7e7b31c69200a504d75305a6cb1460502126961b Mon Sep 17 00:00:00 2001 From: akashs056 Date: Fri, 6 Sep 2024 12:10:58 +0530 Subject: [PATCH] Fix App crash issue in Contributor screen --- .../src/main/java/com/ivy/contributors/ContributorsScreen.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/screen/contributors/src/main/java/com/ivy/contributors/ContributorsScreen.kt b/screen/contributors/src/main/java/com/ivy/contributors/ContributorsScreen.kt index 62fd126b53..4a880e78cf 100644 --- a/screen/contributors/src/main/java/com/ivy/contributors/ContributorsScreen.kt +++ b/screen/contributors/src/main/java/com/ivy/contributors/ContributorsScreen.kt @@ -294,7 +294,9 @@ private fun ContributorCard(contributor: Contributor) { modifier = Modifier.fillMaxWidth(), shape = RoundedCornerShape(12.dp), onClick = { - browser.openUri(contributor.githubProfileUrl) + if (contributor.githubProfileUrl.isNotBlank()) { + browser.openUri(contributor.githubProfileUrl) + } } ) { Row(