Fix padding end.
This commit is contained in:
parent
bd3142b0bb
commit
efb6f2dcbd
1 changed files with 2 additions and 2 deletions
|
|
@ -93,7 +93,7 @@ fun PreferenceText(
|
||||||
Text(
|
Text(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.align(Alignment.CenterVertically)
|
.align(Alignment.CenterVertically)
|
||||||
.padding(horizontal = 16.dp),
|
.padding(start = 16.dp, end = 8.dp),
|
||||||
text = currentValue,
|
text = currentValue,
|
||||||
style = ElementTheme.typography.fontBodyXsMedium,
|
style = ElementTheme.typography.fontBodyXsMedium,
|
||||||
color = ElementTheme.materialColors.secondary,
|
color = ElementTheme.materialColors.secondary,
|
||||||
|
|
@ -102,7 +102,7 @@ fun PreferenceText(
|
||||||
CircularProgressIndicator(
|
CircularProgressIndicator(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.progressSemantics()
|
.progressSemantics()
|
||||||
.padding(horizontal = 16.dp)
|
.padding(start = 16.dp, end = 8.dp)
|
||||||
.size(20.dp)
|
.size(20.dp)
|
||||||
.align(Alignment.CenterVertically),
|
.align(Alignment.CenterVertically),
|
||||||
strokeWidth = 2.dp
|
strokeWidth = 2.dp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue