Fix YouTube play button position (#2160)
This commit is contained in:
parent
f522df7a2e
commit
4cebbfdc94
1 changed files with 9 additions and 1 deletions
|
|
@ -210,7 +210,10 @@ export default class PostBodyAdditionalContent extends PureComponent {
|
|||
resizeMode='cover'
|
||||
onError={this.handleLinkLoadError}
|
||||
>
|
||||
<TouchableOpacity onPress={this.playYouTubeVideo}>
|
||||
<TouchableOpacity
|
||||
style={styles.playButton}
|
||||
onPress={this.playYouTubeVideo}
|
||||
>
|
||||
<Image
|
||||
source={require('assets/images/icons/youtube-play-icon.png')}
|
||||
onPress={this.playYouTubeVideo}
|
||||
|
|
@ -468,4 +471,9 @@ const styles = StyleSheet.create({
|
|||
justifyContent: 'center',
|
||||
marginVertical: 1,
|
||||
},
|
||||
playButton: {
|
||||
flex: 1,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue