Disable mic and screenshare buttons on non-macOS platforms (#12994)

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2024-06-13 10:16:10 -07:00 committed by GitHub
parent 85acc2be44
commit 284559742d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 5 deletions

View file

@ -72,6 +72,7 @@ const os = require("os");
const platform = os.platform();
let screenWidth, screenHeight;
const titleBarHeight = 24;
if (platform === "darwin") {
// macOS
@ -103,7 +104,6 @@ if (platform === "darwin") {
}
}
const titleBarHeight = 24;
screenHeight -= titleBarHeight;
if (isTop) {