fix(about): survive a licenses parse failure
This commit is contained in:
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) }
|
||||||
|
|||||||
Reference in new issue
Block a user