Closed dturner closed 10 months ago
What would be the appropriate style?
MaterialTheme.typography.bodyMedium
maybe?
Default | bodySmall |
bodyMedium |
bodyLarge |
---|---|---|---|
Though it seems like the NiaFilledButton
(and NiaOutlinedButton
) are always using MaterialTheme.typography.labelSmall
without checking the value of the boolean parameter small
.
Maybe the better fix would be to do:
content = {
- ProvideTextStyle(value = MaterialTheme.typography.labelSmall) {
+ ProvideTextStyle(value = if (small) MaterialTheme.typography.labelSmall else MaterialTheme.typography.labelMedium) {
content()
}
}
@dturner this has been fixed, you can close the issue :)
This issue has been fixed, we can close the issue.
Is there an existing issue for this?
Is there a StackOverflow question about this issue?
What happened?
The text on the "Done" button is tiny. It shouldn't be.
Relevant logcat output
No response
Code of Conduct