Fix navigate on IO thread crash
This commit is contained in:
1 parent
0dbf220655
commit
8e15eda4e3
1 file changed
+1
-1
@@ -566,7 +566,7 @@ fun GalleryDetailScreen(args: GalleryDetailScreenArgs, navigator: NavController)
|
||||
}
|
||||
}.toTypedArray()
|
||||
val navAction = dialogState.showSelectItem(*items)
|
||||
navAction.invoke()
|
||||
withUIContext { navAction.invoke() }
|
||||
}
|
||||
Spacer(modifier = Modifier.size(dimensionResource(id = R.dimen.keyline_margin)))
|
||||
if (galleryDetail.newerVersions.isNotEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user