You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-26 22:41:17 +02:00
* uses no_of_lines to fix the issue * ellipsizeMode added
This commit is contained in:
@@ -409,7 +409,7 @@ class ScreenHeaderComponent extends React.PureComponent {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
const title = 'title' in this.props && this.props.title !== null ? this.props.title : '';
|
const title = 'title' in this.props && this.props.title !== null ? this.props.title : '';
|
||||||
return <Text style={this.styles().titleText}>{title}</Text>;
|
return <Text ellipsizeMode={'tail'} numberOfLines={1} style={this.styles().titleText}>{title}</Text>;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user