You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-05 22:57:29 +02:00
Mobile: Joplin Cloud/Server: Support publishing notes (#12350)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import ShareService from '../../../services/share/ShareService';
|
||||
|
||||
interface UnshareNoteEvent {
|
||||
noteId: string;
|
||||
}
|
||||
|
||||
const onUnshareNoteClick = async (event: UnshareNoteEvent) => {
|
||||
await ShareService.instance().unshareNote(event.noteId);
|
||||
await ShareService.instance().refreshShares();
|
||||
};
|
||||
|
||||
export default onUnshareNoteClick;
|
||||
Reference in New Issue
Block a user