diff --git a/app/src/main/java/org/schabi/newpipe/ui/components/about/Library.kt b/app/src/main/java/org/schabi/newpipe/ui/components/about/Library.kt index 51ab60d12..97a2be949 100644 --- a/app/src/main/java/org/schabi/newpipe/ui/components/about/Library.kt +++ b/app/src/main/java/org/schabi/newpipe/ui/components/about/Library.kt @@ -41,7 +41,7 @@ fun Library( showLicenseDialog: (licenseFilename: String) -> Unit, descriptionMaxLines: Int, ) { - val spdxLicense = library.licenses.firstOrNull()?.spdxId + val spdxLicense = library.licenses.firstOrNull()?.spdxId?.takeIf { it.isNotBlank() } val licenseAssetPath = spdxLicense?.let { SPDX_ID_TO_ASSET_PATH[it] } val context = LocalContext.current