fix(about): survive a licenses parse failure

This commit is contained in:
OneWay committed 2026-10-22 21:43:15 +08:00
1 parent 79a7ce3059
commit 4bdd185434
1 file changed
+1 -1
@@ -69,7 +69,7 @@ fun AboutScreen(
val uriHandler = LocalUriHandler.current val uriHandler = LocalUriHandler.current
val librariesData by produceState<AboutLibrariesData?>(initialValue = null, context) { val librariesData by produceState<AboutLibrariesData?>(initialValue = null, context) {
value = withContext(Dispatchers.IO) { value = withContext(Dispatchers.IO) {
AboutLibrariesParser.read(context, R.raw.aboutlibraries) runCatching { AboutLibrariesParser.read(context, R.raw.aboutlibraries) }.getOrNull()
} }
} }
var expandedLibraryId by remember { mutableStateOf<String?>(null) } var expandedLibraryId by remember { mutableStateOf<String?>(null) }