You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Fixed note sorting and changed colour of header
This commit is contained in:
@@ -167,12 +167,6 @@ class SideMenuContentComponent extends Component {
|
||||
return <View style={{ marginTop: 15, marginBottom: 15, flex: -1, borderBottomWidth: 1, borderBottomColor: globalStyle.dividerColor }} key={key}></View>
|
||||
}
|
||||
|
||||
// onLayout(event) {
|
||||
// const newWidth = event.nativeEvent.layout.width;
|
||||
// if (this.state.width == newWidth) return;
|
||||
// this.setState({ width: newWidth });
|
||||
// }
|
||||
|
||||
render() {
|
||||
let items = [];
|
||||
|
||||
@@ -202,6 +196,7 @@ class SideMenuContentComponent extends Component {
|
||||
if (items.length) items.push(this.makeDivider('divider_2'));
|
||||
|
||||
let lines = Synchronizer.reportToLines(this.props.syncReport);
|
||||
while (lines.length < 10) lines.push(''); // Add blank lines so that height of report text is fixed and doesn't affect scrolling
|
||||
const syncReportText = lines.join("\n");
|
||||
|
||||
items.push(this.synchronizeButton(this.props.syncStarted ? 'cancel' : 'sync'));
|
||||
|
||||
Reference in New Issue
Block a user