add selectable flag for file title, channel name and description

This commit is contained in:
Akinwale Ariwodola 2018-05-18 09:49:04 +01:00
parent 0483e67026
commit a2c3f36065

View file

@ -153,9 +153,9 @@ class FilePage extends React.PureComponent {
} }
</View>} </View>}
<ScrollView style={showActions ? filePageStyle.scrollContainerActions : filePageStyle.scrollContainer}> <ScrollView style={showActions ? filePageStyle.scrollContainerActions : filePageStyle.scrollContainer}>
<Text style={filePageStyle.title}>{title}</Text> <Text style={filePageStyle.title} selectable={true}>{title}</Text>
{channelName && <Text style={filePageStyle.channelName}>{channelName}</Text>} {channelName && <Text style={filePageStyle.channelName} selectable={true}>{channelName}</Text>}
{description && <Text style={filePageStyle.description}>{description}</Text>} {description && <Text style={filePageStyle.description} selectable={true}>{description}</Text>}
</ScrollView> </ScrollView>
<View style={filePageStyle.uriContainer}> <View style={filePageStyle.uriContainer}>
<TextInput style={filePageStyle.uriText} <TextInput style={filePageStyle.uriText}