Skip to content

Commit

Permalink
Image color to be same as text color
Browse files Browse the repository at this point in the history
  • Loading branch information
ksharma-xyz committed Feb 13, 2025
1 parent 5ba94ce commit a2015ea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import xyz.ksharma.krail.taj.components.TitleBar
import xyz.ksharma.krail.taj.hexToComposeColor
import xyz.ksharma.krail.taj.modifier.klickable
import xyz.ksharma.krail.taj.theme.KrailTheme
import xyz.ksharma.krail.taj.theme.getForegroundColor
import xyz.ksharma.krail.trip.planner.ui.components.ActionData
import xyz.ksharma.krail.trip.planner.ui.components.ErrorMessage
import xyz.ksharma.krail.trip.planner.ui.components.JourneyCard
Expand Down Expand Up @@ -257,6 +258,7 @@ fun TimeTableScreen(
Image(
painter = painterResource(Res.drawable.ic_check),
contentDescription = null,
colorFilter = ColorFilter.tint(color = getForegroundColor(themeColor)),
modifier = Modifier.size(20.dp),
)
Text("Done", modifier = Modifier.padding(start = 4.dp))
Expand Down

0 comments on commit a2015ea

Please sign in to comment.