1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00
joplin/ReactNativeClient
roman-r-m 17fd8ee504
Mobile: Fixes #2685: Fix quick actions (#2796)
* Fix quick actions

* Receive quick actions when the app is cold-launched

* Force side menu close before creating quick note

* Fix react warning: Can't perform a react state update on an unmounted component

The warning was:
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.
    in NoteScreenComponent (created by Connect(NoteScreenComponent))
    in Connect(NoteScreenComponent) (at app-nav.js:74)

* Fix auto title generation for quick notes.

The previous version created a new provisional note but then while handling NAV_BACK at reduxSharedMiddleware:35 the list of provisional note ids was cleared so when NoteScreenComponent was being mounted later the note was no longer considered provisional and Joplin would not generate the note title from its contents.

* Check for quick action data to be present before processing.

For some reason sometimes it gets called with null.
2020-05-13 11:39:16 +01:00
..
android Android release v1.0.329 2020-04-20 10:13:04 +01:00
ios ios-v10.0.47 2020-04-10 19:30:43 +01:00
lib Mobile: Fixes #2685: Fix quick actions (#2796) 2020-05-13 11:39:16 +01:00
locales Update translations 2020-04-21 08:03:29 -04:00
MarkdownEditor Fixed linter errors 2020-05-05 19:03:13 +01:00
tools Tools: Enforce and apply eslint rules prefer-const and no-var 2020-03-13 23:46:14 +00:00
.buckconfig
.flowconfig Mobile: Upgrading to React Native to 0.61.5 2020-02-09 20:21:52 +00:00
.gitattributes
.gitignore Mobile: Upgrading to React Native to 0.61.5 2020-02-09 20:21:52 +00:00
.watchmanconfig
app.json
clean_build.bat Tools: Added back RN bundler command and cleaned up files 2020-02-24 17:30:11 +00:00
gulpfile.js Tools: Improve and simplify how to build the apps (#2538) 2020-02-20 22:59:18 +00:00
index.android.js
index.ios.js
index.js
main.js All: Started resource fetcher service when a note has been decrypted 2020-04-19 10:11:46 +01:00
metro.config.js
package-lock.json Clipper release v1.0.25 2020-03-10 23:10:59 +00:00
package.json All: Fixes #2667: Fixed sanitize function so that it does not break HTML 2020-03-06 00:54:21 +00:00
PluginAssetsLoader.ts Tools: Enforce and apply eslint rules prefer-const and no-var 2020-03-13 23:46:14 +00:00
root.js Mobile: Fixes #2853: Fix white rectangle issue on dark theme (#3055) 2020-04-14 20:12:18 +01:00
setUpQuickActions.ts Mobile: Fixes #2685: Fix quick actions (#2796) 2020-05-13 11:39:16 +01:00