mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(core): meeting settings issues (#12226)
fix AF-2606 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - The "meetings" settings panel is now only visible on macOS when using the Electron build. - The "Meetings Settings..." menu item in the recording menu appears only when recording functionality is available. - **Style** - Improved the subtitle formatting in the meetings settings panel for clearer visual separation and enhanced readability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -220,15 +220,17 @@ class TrayState implements Disposable {
|
||||
);
|
||||
}
|
||||
}
|
||||
items.push({
|
||||
label: `Meetings Settings...`,
|
||||
click: () => {
|
||||
showMainWindow();
|
||||
applicationMenuSubjects.openInSettingModal$.next({
|
||||
activeTab: 'meetings',
|
||||
});
|
||||
},
|
||||
});
|
||||
if (checkRecordingAvailable()) {
|
||||
items.push({
|
||||
label: `Meetings Settings...`,
|
||||
click: () => {
|
||||
showMainWindow();
|
||||
applicationMenuSubjects.openInSettingModal$.next({
|
||||
activeTab: 'meetings',
|
||||
});
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
return items;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user