mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
* uses no_of_lines to fix the issue * ellipsizeMode added
This commit is contained in:
parent
b8158f3b53
commit
5a174b2236
@ -409,7 +409,7 @@ class ScreenHeaderComponent extends React.PureComponent {
|
||||
);
|
||||
} else {
|
||||
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>;
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user