[MM-59252] Fix resizing app when welcome screen is open on macOS, force button to always appear on welcome screen (#3112)

This commit is contained in:
Devin Binnie
2024-07-29 13:23:57 -04:00
committed by GitHub
parent e68d97e578
commit b2cd2dc60d
4 changed files with 10 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ import {
OPEN_WINDOWS_CAMERA_PREFERENCES,
OPEN_WINDOWS_MICROPHONE_PREFERENCES,
GET_MEDIA_ACCESS_STATUS,
VIEW_FINISHED_RESIZING,
} from 'common/communication';
console.log('Preload initialized');
@@ -178,6 +179,7 @@ contextBridge.exposeInMainWorld('desktop', {
openWindowsCameraPreferences: () => ipcRenderer.send(OPEN_WINDOWS_CAMERA_PREFERENCES),
openWindowsMicrophonePreferences: () => ipcRenderer.send(OPEN_WINDOWS_MICROPHONE_PREFERENCES),
getMediaAccessStatus: (mediaType) => ipcRenderer.invoke(GET_MEDIA_ACCESS_STATUS, mediaType),
viewFinishedResizing: () => ipcRenderer.send(VIEW_FINISHED_RESIZING),
downloadsDropdown: {
toggleDownloadsDropdownMenu: (payload) => ipcRenderer.send(TOGGLE_DOWNLOADS_DROPDOWN_MENU, payload),