properly restore focus on episode screen
This commit is contained in:
+4
-2
@@ -32,8 +32,9 @@ import androidx.compose.foundation.verticalScroll
|
||||
import androidx.compose.material3.Button
|
||||
import androidx.compose.material3.Card
|
||||
import androidx.compose.material3.CardDefaults
|
||||
import androidx.compose.material3.ExperimentalMaterial3ExpressiveApi
|
||||
import androidx.compose.material3.Icon
|
||||
import androidx.compose.material3.LinearProgressIndicator
|
||||
import androidx.compose.material3.LinearWavyProgressIndicator
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.OutlinedTextField
|
||||
import androidx.compose.material3.Text
|
||||
@@ -130,6 +131,7 @@ fun ChatContent(component: ChatComponent, paddingValues: PaddingValues, state: C
|
||||
}
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalMaterial3ExpressiveApi::class)
|
||||
@Composable
|
||||
private fun ChatContent(
|
||||
contentPadding: PaddingValues,
|
||||
@@ -224,7 +226,7 @@ private fun ChatContent(
|
||||
)
|
||||
}
|
||||
if (state.isSending) {
|
||||
LinearProgressIndicator(Modifier.fillMaxWidth())
|
||||
LinearWavyProgressIndicator(Modifier.fillMaxWidth())
|
||||
}
|
||||
Spacer(Modifier.height(4.dp))
|
||||
Row {
|
||||
|
||||
Reference in New Issue
Block a user