There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix(electron): cannot enable meetings correctly (#11269)
pengx17387f7211bf39
diff --git a/packages/frontend/core/src/modules/media/services/meeting-settings.ts b/packages/frontend/core/src/modules/media/services/meeting-settings.tsindex ee16db2326..d98f6647cb 100644--- a/packages/frontend/core/src/modules/media/services/meeting-settings.ts+++ b/packages/frontend/core/src/modules/media/services/meeting-settings.ts@@ -53,6 +53,11 @@ export class MeetingSettingsService extends Service {return;}+ this.globalStateService.globalState.set(MEETING_SETTINGS_KEY, {+ ...this.settings$.value,+ enabled,+ });+// when the user enable the recording feature the first time,// the app may prompt the user to allow the recording feature by MacOS.// when the user allows the recording feature, the app may be required to restart.@@ -77,12 +82,6 @@ export class MeetingSettingsService extends Service {// if the user disabled the recording feature, we need to setup the recording featureawait this.desktopApiService?.handler.recording.disableRecordingFeature();}-- // Only update the state after successful feature setup/disable- this.globalStateService.globalState.set(MEETING_SETTINGS_KEY, {- ...this.settings$.value,- enabled,- });}setRecordingSavingMode(mode: MeetingSettingsSchema['recordingSavingMode']) {