I have faced a kind of problem with react-native-image-picker
.
On iOS, when user opens Image picker (doesn't matter whether to pick image or press "Cancel"), after closing, bottoms tabs wix/react-native-navigation
text color changes to blue.
Android works well.
I have tried to use mergeOptions()
func to change it back directly, but it didn't work, maybe I have done something wrong, but nevertheless I'm in deadlock with this problem.
Here is how image-picker
func looks:
ImagePicker.showImagePicker({ title: 'Pick photo' }, res => {
if (res.didCancel) {
console.log('User cancelled');
} else if (res.error) {
console.log('Error', res.error);
} else {
this.setState({
fileType: res.type,
fileName: res.fileName,
uri: res.uri,
});
this.postAvatarImage();
}
});
};
Thanks in advance, hope you can help me.