@@ -13,13 +13,6 @@ import androidx.compose.foundation.layout.height
1313import androidx.compose.foundation.layout.padding
1414import androidx.compose.foundation.layout.size
1515import androidx.compose.foundation.layout.width
16- import androidx.compose.material.icons.Icons
17- import androidx.compose.material.icons.outlined.AccountCircle
18- import androidx.compose.material.icons.outlined.CalendarMonth
19- import androidx.compose.material.icons.outlined.Explore
20- import androidx.compose.material.icons.outlined.Schedule
21- import androidx.compose.material.icons.outlined.Tag
22- import androidx.compose.material.icons.outlined.Timer
2316import androidx.compose.material3.HorizontalDivider
2417import androidx.compose.material3.Icon
2518import androidx.compose.runtime.Composable
@@ -151,7 +144,7 @@ private fun ActivityItemView(
151144 )
152145 Row (verticalAlignment = Alignment .CenterVertically ) {
153146 Icon (
154- imageVector = Icons . Outlined . CalendarMonth ,
147+ painter = painterResource( R .drawable.ic_calendar) ,
155148 contentDescription = null ,
156149 tint = accentColor,
157150 modifier = Modifier .size(16 .dp)
@@ -172,7 +165,7 @@ private fun ActivityItemView(
172165 )
173166 Row (verticalAlignment = Alignment .CenterVertically ) {
174167 Icon (
175- imageVector = Icons . Outlined . Schedule ,
168+ painter = painterResource( R .drawable.ic_clock) ,
176169 contentDescription = null ,
177170 tint = accentColor,
178171 modifier = Modifier .size(16 .dp)
@@ -199,7 +192,7 @@ private fun ActivityItemView(
199192 )
200193 Row (verticalAlignment = Alignment .CenterVertically ) {
201194 Icon (
202- imageVector = Icons . Outlined . AccountCircle ,
195+ painter = painterResource( R .drawable.ic_user) ,
203196 contentDescription = null ,
204197 tint = accentColor,
205198 modifier = Modifier .size(16 .dp)
@@ -221,7 +214,7 @@ private fun ActivityItemView(
221214 )
222215 Row (verticalAlignment = Alignment .CenterVertically ) {
223216 Icon (
224- imageVector = Icons . Outlined . Timer ,
217+ painter = painterResource( R .drawable.ic_speed_normal) ,
225218 contentDescription = null ,
226219 tint = accentColor,
227220 modifier = Modifier .size(16 .dp)
@@ -295,7 +288,7 @@ private fun ActivityItemView(
295288 Spacer (modifier = Modifier .height(16 .dp))
296289
297290 // Action buttons
298- // TODO add buttons action & disable boost for LN
291+ // TODO add buttons action
299292 Column (
300293 verticalArrangement = Arrangement .spacedBy(16 .dp),
301294 modifier = Modifier .fillMaxWidth()
@@ -310,7 +303,7 @@ private fun ActivityItemView(
310303 onClick = { /* TODO: Implement assign functionality */ },
311304 icon = {
312305 Icon (
313- imageVector = Icons . Outlined . AccountCircle ,
306+ painter = painterResource( R .drawable.ic_user_plus) ,
314307 contentDescription = null ,
315308 tint = accentColor,
316309 modifier = Modifier .size(16 .dp)
@@ -324,7 +317,7 @@ private fun ActivityItemView(
324317 onClick = { /* TODO: Implement tag functionality */ },
325318 icon = {
326319 Icon (
327- imageVector = Icons . Outlined . Tag ,
320+ painter = painterResource( R .drawable.ic_tag) ,
328321 contentDescription = null ,
329322 tint = accentColor,
330323 modifier = Modifier .size(16 .dp)
@@ -341,9 +334,10 @@ private fun ActivityItemView(
341334 text = stringResource(R .string.wallet__activity_boost),
342335 size = ButtonSize .Small ,
343336 onClick = { /* TODO: Implement boost functionality */ },
337+ enabled = ! isLightning, // TODO add logic to enable/disable boost for onchain activities
344338 icon = {
345339 Icon (
346- imageVector = Icons . Outlined . Timer ,
340+ painter = painterResource( R .drawable.ic_timer_alt) ,
347341 contentDescription = null ,
348342 tint = accentColor,
349343 modifier = Modifier .size(16 .dp)
@@ -357,7 +351,7 @@ private fun ActivityItemView(
357351 onClick = { /* TODO: Implement explore functionality */ },
358352 icon = {
359353 Icon (
360- imageVector = Icons . Outlined . Explore ,
354+ painter = painterResource( R .drawable.ic_git_branch) ,
361355 contentDescription = null ,
362356 tint = accentColor,
363357 modifier = Modifier .size(16 .dp)
0 commit comments