fix(electron): optimize meeting privacy settings (#12530)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **New Features**
  - Added support for requesting screen recording permission on macOS in addition to microphone permission.
  - Introduced a new "Permission issues" section in meeting privacy settings, including a button to restart the app if permission status is not updated.
- **Improvements**
  - Unified permission handling for screen and microphone settings, simplifying the user experience.
  - Added new localized strings for enhanced clarity regarding permission issues and app restart instructions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
pengx17
2025-05-27 11:08:06 +00:00
parent d6476db64d
commit 4ad008f712
6 changed files with 74 additions and 29 deletions
@@ -130,7 +130,7 @@ export class MeetingSettingsService extends Service {
);
}
async askForMeetingPermission(type: 'microphone') {
async askForMeetingPermission(type: 'microphone' | 'screen') {
return this.desktopApiService?.handler.recording.askForMeetingPermission(
type
);