mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +02:00
Mobile: Fixes #999: Associate new note with default notebook when creating it from Welcome screen
This commit is contained in:
parent
d08aaffe41
commit
61a0e43092
@ -49,8 +49,6 @@ class TagScreenComponent extends BaseScreenComponent {
|
||||
render() {
|
||||
let title = tag ? tag.title : '';
|
||||
|
||||
// <ActionButton addFolderNoteButtons={true} parentFolderId={this.props.selectedFolderId}></ActionButton>
|
||||
|
||||
const { navigate } = this.props.navigation;
|
||||
return (
|
||||
<View style={this.styles().screen}>
|
||||
|
@ -44,7 +44,7 @@ class WelcomeScreenComponent extends BaseScreenComponent {
|
||||
<View style={this.rootStyle(this.props.theme).root} >
|
||||
<ScreenHeader title={_('Welcome')}/>
|
||||
<Text style={this.styles().message}>{message}</Text>
|
||||
<ActionButton addFolderNoteButtons={true}/>
|
||||
<ActionButton addFolderNoteButtons={true} parentFolderId={this.props.selectedFolderId}/>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
@ -56,6 +56,7 @@ const WelcomeScreen = connect(
|
||||
return {
|
||||
folders: state.folders,
|
||||
theme: state.settings.theme,
|
||||
selectedFolderId: state.selectedFolderId,
|
||||
};
|
||||
}
|
||||
)(WelcomeScreenComponent)
|
||||
|
Loading…
Reference in New Issue
Block a user