diff --git a/app/src/component/link/view.js b/app/src/component/link/view.js
index d0d73487..af1b78dd 100644
--- a/app/src/component/link/view.js
+++ b/app/src/component/link/view.js
@@ -35,6 +35,8 @@ export default class Link extends React.PureComponent {
render() {
const {
+ ellipsizeMode,
+ numberOfLines,
onPress,
style,
text
@@ -54,7 +56,13 @@ export default class Link extends React.PureComponent {
}
return (
- {text}
+
+ {text}
+
);
}
};
diff --git a/app/src/page/file/view.js b/app/src/page/file/view.js
index b30ab0c6..59f605a0 100644
--- a/app/src/page/file/view.js
+++ b/app/src/page/file/view.js
@@ -568,12 +568,14 @@ class FilePage extends React.PureComponent {
{channelName &&
{
- const channelUri = normalizeURI(channelName);
- navigateToUri(navigation, channelUri);
- }} />
+ selectable={true}
+ text={channelName}
+ numberOfLines={1}
+ ellipsizeMode={"tail"}
+ onPress={() => {
+ const channelUri = normalizeURI(channelName);
+ navigateToUri(navigation, channelUri);
+ }} />