Skip to content

Commit 3d4a520

Browse files
committed
Updated content descriptions
1 parent 52116f2 commit 3d4a520

File tree

1 file changed

+2
-2
lines changed
  • compose/snippets/src/main/java/com/example/compose/snippets/components

1 file changed

+2
-2
lines changed

compose/snippets/src/main/java/com/example/compose/snippets/components/Tooltips.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ fun PlainTooltipExample(
9494
IconButton(onClick = { /* Do something... */ }) {
9595
Icon(
9696
imageVector = Icons.Filled.Favorite,
97-
contentDescription = "Localized Description"
97+
contentDescription = "Add to favorites"
9898
)
9999
}
100100
}
@@ -194,7 +194,7 @@ fun AdvancedRichTooltipExample(
194194
IconButton(onClick = { tooltipState.dismiss() }) {
195195
Icon(
196196
imageVector = Icons.Filled.Camera,
197-
contentDescription = "Localized Description"
197+
contentDescription = "Open camera"
198198
)
199199
}
200200
}

0 commit comments

Comments
 (0)