We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25034b commit 72f054aCopy full SHA for 72f054a
1 file changed
app/src/main/java/org/schabi/newpipe/ui/components/about/Library.kt
@@ -41,7 +41,7 @@ fun Library(
41
showLicenseDialog: (licenseFilename: String) -> Unit,
42
descriptionMaxLines: Int,
43
) {
44
- val spdxLicense = library.licenses.firstOrNull()?.spdxId
+ val spdxLicense = library.licenses.firstOrNull()?.spdxId?.takeIf { it.isNotBlank() }
45
val licenseAssetPath = spdxLicense?.let { SPDX_ID_TO_ASSET_PATH[it] }
46
val context = LocalContext.current
47
0 commit comments