Skip to content

Commit 8c49380

Browse files
Emily Janzerfacebook-github-bot
Emily Janzer
authored andcommitted
Fix TextInputTestCase
Summary: #22166 removed inline styles from TextInputTestModule but applied the incorrect style to some of the TextInputs - instead of setting the text color, it set the margin. This caused the test to fail because no color was applied. Changelog: [Android] [Fixed] Fixed style in TextInputTestCase Reviewed By: zackargyle Differential Revision: D19912362 fbshipit-source-id: d5068114b726ee7583842e5f6f323862b0c28e44
1 parent a1b14de commit 8c49380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactAndroid/src/androidTest/js/TextInputTestModule.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const styles = StyleSheet.create({
170170
fontWeight: 'bold',
171171
},
172172
textInputColor: {
173-
marginLeft: 20,
173+
color: '#00ff00',
174174
},
175175
});
176176

0 commit comments

Comments
 (0)