Set stateDescription "Following" and "Not Following".

Change-Id: Ib82ac94b05a5d373ac10787aac5241fb4f03c7b2
pull/1309/head
Jaehwa Noh 1 year ago
parent d338583be6
commit ff92727b7a

@ -406,6 +406,13 @@ private fun SingleTopicButton(
} else {
Off
}
stateDescription = if (isSelected) {
"Following"
} else {
"Not Following"
}
contentDescription = name
},
shape = RoundedCornerShape(corner = CornerSize(8.dp)),
color = MaterialTheme.colorScheme.surface,

Loading…
Cancel
Save