From 61a0e43092c9cbec7f40e723ac5edf33d81b6b70 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Fri, 7 Dec 2018 01:23:36 +0100 Subject: [PATCH] Mobile: Fixes #999: Associate new note with default notebook when creating it from Welcome screen --- ReactNativeClient/lib/components/screens/tag.js | 2 -- ReactNativeClient/lib/components/screens/welcome.js | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ReactNativeClient/lib/components/screens/tag.js b/ReactNativeClient/lib/components/screens/tag.js index f3041cde8b..4fb6a7a42b 100644 --- a/ReactNativeClient/lib/components/screens/tag.js +++ b/ReactNativeClient/lib/components/screens/tag.js @@ -49,8 +49,6 @@ class TagScreenComponent extends BaseScreenComponent { render() { let title = tag ? tag.title : ''; - // - const { navigate } = this.props.navigation; return ( diff --git a/ReactNativeClient/lib/components/screens/welcome.js b/ReactNativeClient/lib/components/screens/welcome.js index da4b82ec5f..331143b293 100644 --- a/ReactNativeClient/lib/components/screens/welcome.js +++ b/ReactNativeClient/lib/components/screens/welcome.js @@ -44,7 +44,7 @@ class WelcomeScreenComponent extends BaseScreenComponent { {message} - + ); } @@ -56,6 +56,7 @@ const WelcomeScreen = connect( return { folders: state.folders, theme: state.settings.theme, + selectedFolderId: state.selectedFolderId, }; } )(WelcomeScreenComponent)