mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-04 09:43: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.
|
||||
*/
|
||||
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.
|
||||
*
|
||||
|
@ -65,7 +56,7 @@ class Navbar extends Component<*> {
|
|||
key = { 0 } />
|
||||
] }
|
||||
globalPrimaryActions = { this._getPrimaryActions() }
|
||||
globalPrimaryIcon = { this._getPrimaryIcon() }
|
||||
globalPrimaryIcon = { <Logo /> }
|
||||
globalSecondaryActions = { this._getSecondaryActions() }
|
||||
isElectronMac = { isElectronMac() }
|
||||
isOpen = { false }
|
||||
|
|
Loading…
Reference in a new issue