@hedia/recommendation-screen 2.1.56 → 2.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -102,7 +102,7 @@ export default class RecommendedInsulin extends React.Component {
|
|
|
102
102
|
*/
|
|
103
103
|
render = () => {
|
|
104
104
|
const shownInsulin = this.state.partialInput ?? this.props.insulinRecommendation ?? `0`;
|
|
105
|
-
const { EditRecommendedInsulin, ShownInsulinText, InvisibleInsulinInput } = RecommendedInsulinTestIds;
|
|
105
|
+
const { EditRecommendedInsulin, EditRecommendedInsulinIcon, ShownInsulinText, InvisibleInsulinInput } = RecommendedInsulinTestIds;
|
|
106
106
|
return (<React.Fragment>
|
|
107
107
|
<TouchableOpacity testID={EditRecommendedInsulin} onPress={this.handleOnPress} style={style.container}>
|
|
108
108
|
<Text style={style.titleText}>{i18n._(t `Recommended amount of insulin`)}</Text>
|
|
@@ -111,7 +111,7 @@ export default class RecommendedInsulin extends React.Component {
|
|
|
111
111
|
</Text>
|
|
112
112
|
<Text style={style.unitsText}>{i18n._(t `Units`)}</Text>
|
|
113
113
|
<View style={style.enterManually}>
|
|
114
|
-
{Edit({ color: colors.teal, style: style.editIcon })}
|
|
114
|
+
{Edit({ color: colors.teal, style: style.editIcon, testID: EditRecommendedInsulinIcon })}
|
|
115
115
|
<Text style={style.editText}>{i18n._(t `Enter Manually`)}</Text>
|
|
116
116
|
</View>
|
|
117
117
|
</TouchableOpacity>
|