Some clean up

This commit is contained in:
ganfra
2023-04-25 11:17:05 +02:00
parent 1d690fdd00
commit 1ab96e2f34
4 changed files with 8 additions and 4 deletions
@@ -33,4 +33,7 @@ internal class MediaKeyer : Keyer<MediaResolver.Meta> {
}
}
private fun MediaResolver.Meta.toKey() = "${url}_${kind}"
private fun MediaResolver.Meta.toKey(): String? {
if (url.isNullOrBlank()) return null
return "${url}_${kind}"
}