From b9edf73254d50c8ddb2982f1afca5f6028d66371 Mon Sep 17 00:00:00 2001 From: Oliver Sauter Date: Sat, 11 May 2024 17:31:01 +0200 Subject: [PATCH] also fix it for the inline annotatoinEdit modal --- src/in-page-ui/tooltip/content_script/components/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/in-page-ui/tooltip/content_script/components/index.tsx b/src/in-page-ui/tooltip/content_script/components/index.tsx index 32e6b4dc4d..7dd725e87a 100644 --- a/src/in-page-ui/tooltip/content_script/components/index.tsx +++ b/src/in-page-ui/tooltip/content_script/components/index.tsx @@ -32,6 +32,7 @@ import { TypedRemoteEventEmitter, getRemoteEventEmitter, } from 'src/util/webextensionRPC' +import { AnnotationPrivacyLevels } from '@worldbrain/memex-common/lib/annotations/types' interface TooltipRootProps { mount: InPageUIRootMount @@ -179,6 +180,7 @@ class TooltipRoot extends React.Component { this.props.annotationsCache.updateAnnotation({ ...currentAnnotation, unifiedListIds: updatedUnifiedListIdLists, + privacyLevel: AnnotationPrivacyLevels.PROTECTED, }) this.props.contentSharingBG.shareAnnotationToSomeLists({