Skip to content

Commit 1f2fe32

Browse files
committed
feat: implement clock icon
1 parent eced29c commit 1f2fe32

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/send/SendAndReviewScreen.kt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,18 @@ fun SendAndReviewScreen(
165165
color = Colors.White64
166166
)
167167
Spacer(modifier = Modifier.height(8.dp))
168-
BodySSB(text = invoiceExpiryTimestamp)
168+
Row(
169+
verticalAlignment = Alignment.CenterVertically,
170+
horizontalArrangement = Arrangement.spacedBy(4.dp),
171+
) {
172+
Icon(
173+
painterResource(R.drawable.ic_clock),
174+
contentDescription = null,
175+
tint = Colors.Brand,
176+
modifier = Modifier.size(16.dp)
177+
)
178+
BodySSB(text = invoiceExpiryTimestamp)
179+
}
169180
Spacer(modifier = Modifier.weight(1f))
170181
HorizontalDivider(modifier = Modifier.padding(vertical = 16.dp))
171182
}
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="13dp"
3+
android:height="14dp"
4+
android:viewportWidth="13"
5+
android:viewportHeight="14">
6+
<path
7+
android:pathData="M6.5,13C9.814,13 12.5,10.314 12.5,7C12.5,3.686 9.814,1 6.5,1C3.186,1 0.5,3.686 0.5,7C0.5,10.314 3.186,13 6.5,13Z"
8+
android:strokeAlpha="0.2"
9+
android:fillColor="#FF4400"
10+
android:fillAlpha="0.2"/>
11+
<path
12+
android:pathData="M6.5,1.5C3.462,1.5 1,3.962 1,7C1,10.038 3.462,12.5 6.5,12.5C9.538,12.5 12,10.038 12,7C12,3.962 9.538,1.5 6.5,1.5ZM0,7C0,3.41 2.91,0.5 6.5,0.5C10.09,0.5 13,3.41 13,7C13,10.59 10.09,13.5 6.5,13.5C2.91,13.5 0,10.59 0,7Z"
13+
android:fillColor="#FF4400"
14+
android:fillType="evenOdd"/>
15+
<path
16+
android:pathData="M6.5,3C6.776,3 7,3.224 7,3.5V6.5H10C10.276,6.5 10.5,6.724 10.5,7C10.5,7.276 10.276,7.5 10,7.5H6.5C6.224,7.5 6,7.276 6,7V3.5C6,3.224 6.224,3 6.5,3Z"
17+
android:fillColor="#FF4400"
18+
android:fillType="evenOdd"/>
19+
</vector>

0 commit comments

Comments
 (0)