You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Add simple sharing facilities for Android
- react code should be cross platform but support needs to be added for ios - only shares plain text notes for now
This commit is contained in:
@ -174,8 +174,13 @@ shared.initState = async function(comp) {
|
||||
mode: mode,
|
||||
folder: folder,
|
||||
isLoading: false,
|
||||
fromShare: comp.props.sharedData ? true : false,
|
||||
});
|
||||
|
||||
if (comp.props.sharedData) {
|
||||
this.noteComponent_change(comp, 'body', comp.props.sharedData.value);
|
||||
}
|
||||
|
||||
comp.lastLoadedNoteId_ = note ? note.id : null;
|
||||
}
|
||||
|
||||
@ -190,4 +195,4 @@ shared.toggleIsTodo_onPress = function(comp) {
|
||||
comp.setState(newState);
|
||||
}
|
||||
|
||||
module.exports = shared;
|
||||
module.exports = shared;
|
||||
|
Reference in New Issue
Block a user