Skip to content

Commit

Permalink
Small design changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daniebeler committed Jan 30, 2025
1 parent 96cfef9 commit f4b5ead
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fun NewPostComposable(
viewModel.deleteMedia(image.id, image.imageUri)
}) {
Icon(
imageVector = ImageVector.vectorResource(R.drawable.trash_outline),
imageVector = ImageVector.vectorResource(R.drawable.paper_plane_right),
contentDescription = "delete Image",
tint = MaterialTheme.colorScheme.error
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,8 @@ fun PostImage(
modifier = Modifier
.align(Alignment.BottomStart)
.zIndex(3f)
.padding(12.dp)
.clip(CircleShape)
.padding(10.dp)
.clip(RoundedCornerShape(10.dp))
.background(MaterialTheme.colorScheme.background.copy(alpha = 0.5f))
.clickable {
altText = mediaAttachment.description
Expand Down
11 changes: 11 additions & 0 deletions app/src/main/res/drawable/paper_plane_right.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="256"
android:viewportHeight="256">

<path
android:fillColor="?attr/colorOnBackground"
android:pathData="M231.87,114l-168,-95.89A16,16 0,0 0,40.92 37.34L71.55,128 40.92,218.67A16,16 0,0 0,56 240a16.15,16.15 0,0 0,7.93 -2.1l167.92,-96.05a16,16 0,0 0,0.05 -27.89ZM56,224a0.56,0.56 0,0 0,0 -0.12L85.74,136H144a8,8 0,0 0,0 -16H85.74L56.06,32.16A0.46,0.46 0,0 0,56 32l168,95.83Z" />

</vector>

0 comments on commit f4b5ead

Please sign in to comment.