We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e8f532 commit 0478bb6Copy full SHA for 0478bb6
feature/creation/src/main/java/com/android/developers/androidify/creation/CreationScreen.kt
@@ -462,10 +462,11 @@ private fun MainCreationPane(
462
}
463
464
PromptType.TEXT.ordinal -> {
465
+
466
val showTextPrompt by remember {
467
derivedStateOf { pagerState.currentPage == PromptType.TEXT.ordinal && pagerState.targetPage == pagerState.currentPage }
468
- //This ensures the TextPrompt only renders when navigation animation completes.
469
470
if (showTextPrompt) {
471
TextPrompt(
472
textFieldState = uiState.descriptionText,
0 commit comments