mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +03:00
corrected mediaType; retaining activeOpacity to 1
This commit is contained in:
parent
dedc8cb409
commit
f7643a6a31
@ -100,7 +100,11 @@ const PostCardView = ({
|
||||
</View>
|
||||
</View>
|
||||
<View style={styles.postBodyWrapper}>
|
||||
<TouchableOpacity style={styles.hiddenImages} onPress={_handleOnContentPress}>
|
||||
<TouchableOpacity
|
||||
activeOpacity={1}
|
||||
style={styles.hiddenImages}
|
||||
onPress={_handleOnContentPress}
|
||||
>
|
||||
{!isHideImage && (
|
||||
<FastImage
|
||||
source={{ uri: images.image }}
|
||||
|
@ -101,7 +101,7 @@ class EditorContainer extends Component {
|
||||
ImagePicker.openPicker({
|
||||
includeBase64: true,
|
||||
multiple: true,
|
||||
mediaType: 'image',
|
||||
mediaType: 'photo',
|
||||
smartAlbums: ['UserLibrary', 'Favorites', 'PhotoStream', 'Panoramas', 'Bursts'],
|
||||
})
|
||||
.then((images) => {
|
||||
@ -115,6 +115,7 @@ class EditorContainer extends Component {
|
||||
_handleOpenCamera = () => {
|
||||
ImagePicker.openCamera({
|
||||
includeBase64: true,
|
||||
mediaType: 'photo',
|
||||
})
|
||||
.then((image) => {
|
||||
this._handleMediaOnSelected(image);
|
||||
|
Loading…
Reference in New Issue
Block a user