Tell function return types to workaround compiler bug
This commit is contained in:
1 parent
593f24b86f
commit
f0291d94f9
1 file changed
+1
-1
@@ -113,7 +113,7 @@ class DialogState {
|
||||
@StringRes title: Int? = null,
|
||||
invalidator: (suspend Raise<String>.(R) -> Unit)? = null,
|
||||
block: @Composable DialogScope<R>.(String?) -> Unit,
|
||||
) = dialog { cont ->
|
||||
): R = dialog { cont ->
|
||||
val coroutineScope = rememberCoroutineScope()
|
||||
val state = remember(cont) { mutableStateOf(initial) }
|
||||
var errorMsg by remember(cont) { mutableStateOf<String?>(null) }
|
||||
|
||||
Reference in new issue
Block a user