Fix for compose snapshot

This commit is contained in:
GG Bond authored and Vladimir Dostoyevskiy committed 2024-02-21 20:09:36 +08:00
1 parent 645656b4cd
commit aa219e4b71
1 file changed
+2 -2
@@ -44,7 +44,7 @@ import androidx.compose.foundation.layout.offset
import androidx.compose.foundation.layout.onConsumedWindowInsetsChanged
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.GenericShape
import androidx.compose.foundation.text.BasicTextField2
import androidx.compose.foundation.text.BasicTextField
import androidx.compose.foundation.text.KeyboardActions
import androidx.compose.foundation.text.KeyboardOptions
import androidx.compose.foundation.text.input.TextFieldLineLimits
@@ -494,7 +494,7 @@ private fun SearchBarInputField(
if (focused) colors.focusedTextColor else colors.unfocusedTextColor
}
BasicTextField2(
BasicTextField(
state = state,
modifier = modifier
.height(InputFieldHeight)