Merge pull request #130 from lbryio/selectable-description

add selectable flag for file title, channel name and description
This commit is contained in:
akinwale 2018-05-18 09:50:18 +01:00 committed by GitHub
commit 8db8083e32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}