Skip to content

Commit

Permalink
Remove colors argument from TextField
Browse files Browse the repository at this point in the history
  • Loading branch information
fmccown committed Mar 6, 2024
1 parent 12b30bf commit d0ce94d
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ import androidx.compose.material3.Button
import androidx.compose.material3.RadioButton
import androidx.compose.material3.Text
import androidx.compose.material3.TextField
import androidx.compose.material3.TextFieldDefaults
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.semantics.Role
import androidx.compose.ui.text.input.KeyboardType
Expand Down Expand Up @@ -179,11 +177,6 @@ fun NumberField(
keyboardOptions = KeyboardOptions(
keyboardType = KeyboardType.Number
),
colors = TextFieldDefaults.colors(
focusedContainerColor = Color(0xFFF2F2F2),
unfocusedContainerColor = Color(0xFFF2F2F2),
disabledContainerColor = Color.White,
),
modifier = modifier
)
}
Expand Down

0 comments on commit d0ce94d

Please sign in to comment.