Format file
This commit is contained in:
parent
740b9c85ca
commit
83e474f118
1 changed files with 16 additions and 16 deletions
|
|
@ -49,8 +49,8 @@ fun FileItemView(
|
||||||
) {
|
) {
|
||||||
Column(
|
Column(
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(top = 20.dp, start = 16.dp, end = 16.dp),
|
.padding(top = 20.dp, start = 16.dp, end = 16.dp),
|
||||||
) {
|
) {
|
||||||
FilenameRow(
|
FilenameRow(
|
||||||
file = file,
|
file = file,
|
||||||
|
|
@ -78,24 +78,24 @@ private fun FilenameRow(
|
||||||
) {
|
) {
|
||||||
Row(
|
Row(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.clip(RoundedCornerShape(12.dp))
|
.clip(RoundedCornerShape(12.dp))
|
||||||
.background(
|
.background(
|
||||||
color = ElementTheme.colors.bgSubtleSecondary,
|
color = ElementTheme.colors.bgSubtleSecondary,
|
||||||
shape = RoundedCornerShape(12.dp),
|
shape = RoundedCornerShape(12.dp),
|
||||||
)
|
)
|
||||||
.clickable { onClick() }
|
.clickable { onClick() }
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(start = 12.dp, end = 36.dp, top = 8.dp, bottom = 8.dp),
|
.padding(start = 12.dp, end = 36.dp, top = 8.dp, bottom = 8.dp),
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
) {
|
) {
|
||||||
Icon(
|
Icon(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.background(
|
.background(
|
||||||
color = ElementTheme.colors.bgActionSecondaryRest,
|
color = ElementTheme.colors.bgActionSecondaryRest,
|
||||||
shape = CircleShape,
|
shape = CircleShape,
|
||||||
)
|
)
|
||||||
.size(32.dp)
|
.size(32.dp)
|
||||||
.padding(6.dp),
|
.padding(6.dp),
|
||||||
imageVector = CompoundIcons.Attachment(),
|
imageVector = CompoundIcons.Attachment(),
|
||||||
contentDescription = null,
|
contentDescription = null,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue