1
0
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:
Henry Heino
2025-06-06 15:04:09 -07:00
committed by GitHub
parent 0fc665d6d8
commit 3d2ac91b8a
11 changed files with 492 additions and 76 deletions

View File

@@ -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;