From 7922ee369077dbe6fe6e5f390755885f9db8b401 Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Sun, 10 Nov 2024 01:37:42 +0100 Subject: [PATCH] Fix crash in client --- app/shared/src/commonMain/kotlin/components/SoundContainer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/shared/src/commonMain/kotlin/components/SoundContainer.kt b/app/shared/src/commonMain/kotlin/components/SoundContainer.kt index 88d2700..be69940 100644 --- a/app/shared/src/commonMain/kotlin/components/SoundContainer.kt +++ b/app/shared/src/commonMain/kotlin/components/SoundContainer.kt @@ -115,7 +115,7 @@ fun SoundContainer(model: SoundListViewModel) { .background(ColorScheme.current.error) ) { Text( - unavailableFor!!, + unavailableFor ?: "", textAlign = TextAlign.Center, modifier = Modifier.fillMaxWidth(), fontSize = 25.sp