Add check to only show windows buttons on windows (#2817)
Default windows action buttons to true and return false only for mac
This commit is contained in:
1 parent
28d8afae2e
commit
ba34307918
1 file changed
+3
@@ -199,6 +199,9 @@ export default function initializeMockIPC(server, config) {
|
||||
* Check for OS chrome state
|
||||
*/
|
||||
showWindowActions() {
|
||||
if (navigator.userAgent.includes('Mac')) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user