Merge pull request #320 from esteemapp/bugfix/android-image-upload

Fixed android image upload issue
This commit is contained in:
Feruz M 2019-01-03 11:40:19 +02:00 committed by GitHub
commit 10814821fe

View File

@ -1,6 +1,6 @@
import React, { Component } from 'react';
import {
View, KeyboardAvoidingView, ScrollView, FlatList, Text,
View, KeyboardAvoidingView, ScrollView, FlatList, Text, Platform,
} from 'react-native';
import Markdown, { getUniqueID } from 'react-native-markdown-renderer';
import ActionSheet from 'react-native-actionsheet';
@ -186,7 +186,7 @@ export default class MarkdownEditorView extends Component {
id: isReply ? 'editor.reply_placeholder' : 'editor.default_placeholder',
})}
placeholderTextColor="#c1c5c7"
selection={selection}
selection={Platform.OS === 'ios' ? selection : undefined}
selectionColor="#357ce6"
style={styles.textWrapper}
underlineColorAndroid="transparent"