From 25555f3f3f0c0b12de4ad7070677d1fc2c4128d0 Mon Sep 17 00:00:00 2001 From: Zion Huang Date: Tue, 12 Sep 2023 10:50:29 +0800 Subject: [PATCH] Fix #1048 --- innertube/src/main/java/com/zionhuang/innertube/YouTube.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/innertube/src/main/java/com/zionhuang/innertube/YouTube.kt b/innertube/src/main/java/com/zionhuang/innertube/YouTube.kt index 68980a438..23cd4c028 100644 --- a/innertube/src/main/java/com/zionhuang/innertube/YouTube.kt +++ b/innertube/src/main/java/com/zionhuang/innertube/YouTube.kt @@ -210,7 +210,7 @@ object YouTube { ?.gridRenderer if (gridRenderer != null) { ArtistItemsPage( - title = gridRenderer.header?.gridHeaderRenderer?.title?.runs?.firstOrNull()?.text!!, + title = gridRenderer.header?.gridHeaderRenderer?.title?.runs?.firstOrNull()?.text.orEmpty(), items = gridRenderer.items.mapNotNull { it.musicTwoRowItemRenderer?.let { renderer -> ArtistItemsPage.fromMusicTwoRowItemRenderer(renderer)