mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Make sure preview contains the two themes.
This commit is contained in:
committed by
Benoit Marty
parent
f29149ab68
commit
de413065c7
+2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user