Skip to content

Commit

Permalink
[#83] Review: Rename TextFieldsOutline in TextFieldsOutlined
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinea committed May 12, 2022
1 parent d2996d9 commit 723ebe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sealed class Component(
R.string.component_text_fields,
R.drawable.il_text_fields,
R.string.component_text_fields_description,
listOf(SubComponent.TextFieldsFilled, SubComponent.TextFieldsOutline)
listOf(SubComponent.TextFieldsFilled, SubComponent.TextFieldsOutlined)
)

@ExperimentalMaterialApi
Expand Down Expand Up @@ -103,5 +103,5 @@ sealed class SubComponent(
object ListsThreeLines : SubComponent(6L, R.string.component_lists_three_lines)

object TextFieldsFilled : SubComponent(7L, R.string.component_text_fields_filled)
object TextFieldsOutline : SubComponent(8L, R.string.component_text_fields_outlined)
object TextFieldsOutlined : SubComponent(8L, R.string.component_text_fields_outlined)
}
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ fun SubComponentTextField(subComponent: SubComponent) {
) {
when (subComponent) {
SubComponent.TextFieldsFilled -> TextFieldFilledContent(customizationState)
SubComponent.TextFieldsOutline -> TextFieldOutlinedContent(customizationState)
SubComponent.TextFieldsOutlined -> TextFieldOutlinedContent(customizationState)
else -> {}
}
}
Expand Down

0 comments on commit 723ebe5

Please sign in to comment.