Make sure preview contains the two themes.
This commit is contained in:
parent
f29149ab68
commit
de413065c7
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import androidx.compose.foundation.layout.ColumnScope
|
|||
import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.WindowInsets
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.heightIn
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||
|
|
@ -300,6 +301,7 @@ private fun ContentToPreview(
|
|||
resultHandler: @Composable ColumnScope.(String) -> Unit = {},
|
||||
) {
|
||||
SearchBar(
|
||||
modifier = Modifier.heightIn(max = 200.dp),
|
||||
query = query,
|
||||
active = active,
|
||||
resultState = resultState,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue