Skip to content

Commit 0b01a83

Browse files
committed
Fix non-visible back icon on Camera and Document screens in dark theme
1 parent 14552c7 commit 0b01a83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/org/fairscan/app/view/Buttons.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ fun BackButton(onClick: () -> Unit, modifier: Modifier = Modifier) {
8080
IconButton(onClick = onClick, modifier = modifier) {
8181
Icon(
8282
Icons.AutoMirrored.Filled.ArrowBack,
83-
contentDescription = stringResource(R.string.back)
83+
contentDescription = stringResource(R.string.back),
84+
tint = MaterialTheme.colorScheme.onSurface
8485
)
8586
}
8687
}

0 commit comments

Comments
 (0)