Fixed crash when opening quick actions dialog
This commit is contained in:
parent
f017409db8
commit
1a523d04ef
@ -50,10 +50,6 @@ fun QuickActionsDialog(
|
|||||||
mutableStateOf(0)
|
mutableStateOf(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
LaunchedEffect(Unit) {
|
|
||||||
textFieldFocusRequester.requestFocus()
|
|
||||||
}
|
|
||||||
|
|
||||||
MaterialDialog(
|
MaterialDialog(
|
||||||
onCloseRequested = onClose,
|
onCloseRequested = onClose,
|
||||||
background = MaterialTheme.colors.surface,
|
background = MaterialTheme.colors.surface,
|
||||||
@ -118,6 +114,10 @@ fun QuickActionsDialog(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LaunchedEffect(Unit) {
|
||||||
|
textFieldFocusRequester.requestFocus()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user