Skip to content

Commit

Permalink
Title used as testTag for TUITab.
Browse files Browse the repository at this point in the history
  • Loading branch information
androidmahi committed Sep 12, 2023
1 parent 64a790b commit ee2e59a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fun TUITab(
onTabClicked: () -> Unit,
) {
Tab(modifier = modifier
.testTag("$title ${tags.parentTag}")
.testTag(title)
.padding(4.dp)
.clip(RoundedCornerShape(32.dp))
.background(if (isSelected) TUITheme.colors.secondary else Color.Transparent),
Expand Down Expand Up @@ -99,7 +99,6 @@ fun TUITab(
}

data class TUITabTags(
val parentTag: String = "TUITab",
val leadIconTag: String = "TUITab_leadIcon_Tag",
)

Expand Down

0 comments on commit ee2e59a

Please sign in to comment.