File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
collect_app/src/main/java/org/odk/collect/android/widgets Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ import androidx.compose.ui.Alignment
1414import androidx.compose.ui.Modifier
1515import androidx.compose.ui.graphics.vector.ImageVector
1616import androidx.compose.ui.res.dimensionResource
17- import androidx.compose.ui.text.TextStyle
1817import androidx.compose.ui.unit.sp
1918import org.odk.collect.androidshared.R.dimen
2019import org.odk.collect.androidshared.ui.multiclicksafe.MultiClickGuard
@@ -52,7 +51,12 @@ fun TextWidgetAnswer(
5251 Spacer (modifier = Modifier .width(dimensionResource(id = dimen.margin_small)))
5352 Text (
5453 text = answer,
55- style = TextStyle (fontSize = fontSize.sp)
54+ style = MaterialTheme .typography.bodyLarge.copy(
55+ fontSize = fontSize.sp,
56+ color = MaterialTheme .colorScheme.onSurface.copy(
57+ alpha = dimen.high_emphasis.toFloat()
58+ )
59+ )
5660 )
5761 }
5862}
You can’t perform that action at this time.
0 commit comments