* MM-18236 Prevent the post menu from triggering when using the back gesture in the thread screen * Update snapshots * Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com> * Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com> * Update app/components/post/post.js Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com> * Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js * Fix eslint
103 lines
1.9 KiB
Text
103 lines
1.9 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`SendButton should change theme backgroundColor to 0.3 opacity 1`] = `
|
|
<View
|
|
style={
|
|
Object {
|
|
"justifyContent": "flex-end",
|
|
"paddingHorizontal": 5,
|
|
"paddingVertical": 3,
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Array [
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "#166de0",
|
|
"borderRadius": 18,
|
|
"height": 28,
|
|
"justifyContent": "center",
|
|
"width": 28,
|
|
},
|
|
Object {
|
|
"backgroundColor": "rgba(22,109,224,0.3)",
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<PaperPlane
|
|
color="#ffffff"
|
|
height={13}
|
|
width={15}
|
|
/>
|
|
</View>
|
|
</View>
|
|
`;
|
|
|
|
exports[`SendButton should match snapshot 1`] = `
|
|
<TouchableWithFeedbackIOS
|
|
onPress={[MockFunction]}
|
|
style={
|
|
Object {
|
|
"justifyContent": "flex-end",
|
|
"paddingHorizontal": 5,
|
|
"paddingVertical": 3,
|
|
}
|
|
}
|
|
type="opacity"
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "#166de0",
|
|
"borderRadius": 18,
|
|
"height": 28,
|
|
"justifyContent": "center",
|
|
"width": 28,
|
|
}
|
|
}
|
|
>
|
|
<PaperPlane
|
|
color="#ffffff"
|
|
height={13}
|
|
width={15}
|
|
/>
|
|
</View>
|
|
</TouchableWithFeedbackIOS>
|
|
`;
|
|
|
|
exports[`SendButton should render theme backgroundColor 1`] = `
|
|
<TouchableWithFeedbackIOS
|
|
onPress={[MockFunction]}
|
|
style={
|
|
Object {
|
|
"justifyContent": "flex-end",
|
|
"paddingHorizontal": 5,
|
|
"paddingVertical": 3,
|
|
}
|
|
}
|
|
type="opacity"
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"alignItems": "center",
|
|
"backgroundColor": "#166de0",
|
|
"borderRadius": 18,
|
|
"height": 28,
|
|
"justifyContent": "center",
|
|
"width": 28,
|
|
}
|
|
}
|
|
>
|
|
<PaperPlane
|
|
color="#ffffff"
|
|
height={13}
|
|
width={15}
|
|
/>
|
|
</View>
|
|
</TouchableWithFeedbackIOS>
|
|
`;
|