diff options
Diffstat (limited to 'app/features')
-rw-r--r-- | app/features/navbar/components/Navbar.js | 2 | ||||
-rw-r--r-- | app/features/utils/functions.js | 11 |
2 files changed, 0 insertions, 13 deletions
diff --git a/app/features/navbar/components/Navbar.js b/app/features/navbar/components/Navbar.js index 41e9e00..952519a 100644 --- a/app/features/navbar/components/Navbar.js +++ b/app/features/navbar/components/Navbar.js @@ -7,7 +7,6 @@ import React, { Component } from 'react'; import { connect } from 'react-redux'; import { SettingsButton, SettingsDrawer } from '../../settings'; -import { isElectronMac } from '../../utils'; import HelpButton from './HelpButton'; import Logo from './Logo'; @@ -66,7 +65,6 @@ class Navbar extends Component<Props, *> { globalPrimaryActions = { this._getPrimaryActions() } globalPrimaryIcon = { <Logo /> } globalSecondaryActions = { this._getSecondaryActions() } - isElectronMac = { isElectronMac() } isOpen = { false } isResizeable = { false } /> ); diff --git a/app/features/utils/functions.js b/app/features/utils/functions.js index 36db8b3..0a1149d 100644 --- a/app/features/utils/functions.js +++ b/app/features/utils/functions.js @@ -1,18 +1,7 @@ -/* global process */ - // @flow /** - * Return true if Electron app is running on Mac system. - * - * @returns {boolean} - */ -export function isElectronMac() { - return process.platform === 'darwin'; -} - -/** * Normalizes the given server URL so it has the proper scheme. * * @param {string} url - URL with or without scheme. |