mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 01:33:42 +02:00
Simplified code
This commit is contained in:
parent
8f79e886fc
commit
be44cb9496
|
@ -16,15 +16,6 @@ import Logo from './Logo';
|
||||||
* Navigation Bar component.
|
* Navigation Bar component.
|
||||||
*/
|
*/
|
||||||
class Navbar extends Component<*> {
|
class Navbar extends Component<*> {
|
||||||
/**
|
|
||||||
* Get the primary icon of Global Navigation.
|
|
||||||
*
|
|
||||||
* @returns {ReactElement}
|
|
||||||
*/
|
|
||||||
_getPrimaryIcon() {
|
|
||||||
return <Logo />;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the array of Primary actions of Global Navigation.
|
* Get the array of Primary actions of Global Navigation.
|
||||||
*
|
*
|
||||||
|
@ -65,7 +56,7 @@ class Navbar extends Component<*> {
|
||||||
key = { 0 } />
|
key = { 0 } />
|
||||||
] }
|
] }
|
||||||
globalPrimaryActions = { this._getPrimaryActions() }
|
globalPrimaryActions = { this._getPrimaryActions() }
|
||||||
globalPrimaryIcon = { this._getPrimaryIcon() }
|
globalPrimaryIcon = { <Logo /> }
|
||||||
globalSecondaryActions = { this._getSecondaryActions() }
|
globalSecondaryActions = { this._getSecondaryActions() }
|
||||||
isElectronMac = { isElectronMac() }
|
isElectronMac = { isElectronMac() }
|
||||||
isOpen = { false }
|
isOpen = { false }
|
||||||
|
|
Loading…
Reference in a new issue