mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-10 07:05:14 +00:00
Merge pull request #11326 from vector-im/dbkr/no_menubar_on_mac
Remove the 'auto hide menu bar' option on Mac
This commit is contained in:
commit
c22199f92f
1 changed files with 2 additions and 1 deletions
|
@ -200,7 +200,8 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
}
|
||||
|
||||
supportsAutoHideMenuBar(): boolean {
|
||||
return true;
|
||||
// This is irelevant on Mac as Menu bars don't live in the app window
|
||||
return !navigator.platform.toUpperCase().includes('MAC');
|
||||
}
|
||||
|
||||
async getAutoHideMenuBarEnabled(): boolean {
|
||||
|
|
Loading…
Reference in a new issue