Merge pull request #178 from android/caren/row_button_scroll_fix

Remove weight on NiaButtonContent that was causing narrow buttons when using Row with horizontalScroll
pull/1837/head
Caren 3 years ago committed by GitHub
commit d2afeec071

@ -324,7 +324,6 @@ private fun RowScope.NiaButtonContent(
}
Box(
Modifier
.weight(1f, fill = false)
.padding(
start = if (leadingIcon != null) {
NiaButtonDefaults.ButtonContentSpacing

Loading…
Cancel
Save