mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-03 17:23:41 +02:00
Add "about" to help menu
This commit is contained in:
parent
c3d5c8e609
commit
d3c77c847a
|
@ -1,5 +1,10 @@
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
/**
|
||||||
|
* The URL with extra information about the app / service.
|
||||||
|
*/
|
||||||
|
aboutURL: 'https://jitsi.org/what-is-jitsi/',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Application name.
|
* Application name.
|
||||||
*/
|
*/
|
||||||
|
@ -16,12 +21,12 @@ export default {
|
||||||
feedbackURL: 'mailto:support@jitsi.org',
|
feedbackURL: 'mailto:support@jitsi.org',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The url of Privacy Policy Page.
|
* The URL of Privacy Policy Page.
|
||||||
*/
|
*/
|
||||||
privacyPolicyURL: 'https://jitsi.org/meet/privacy',
|
privacyPolicyURL: 'https://jitsi.org/meet/privacy',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The url of Terms and Conditions Page.
|
* The URL of Terms and Conditions Page.
|
||||||
*/
|
*/
|
||||||
termsAndConditionsURL: 'https://jitsi.org/meet/terms'
|
termsAndConditionsURL: 'https://jitsi.org/meet/terms'
|
||||||
};
|
};
|
||||||
|
|
|
@ -32,12 +32,15 @@ export default class HelpButton extends Component< *, State> {
|
||||||
droplistOpen: false
|
droplistOpen: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this._onAbout = openExternalLink.bind(undefined, config.aboutURL);
|
||||||
this._onIconClick = this._onIconClick.bind(this);
|
this._onIconClick = this._onIconClick.bind(this);
|
||||||
this._onPrivacyOptionClick = this._onPrivacyOptionClick.bind(this);
|
this._onPrivacyOptionClick = this._onPrivacyOptionClick.bind(this);
|
||||||
this._onTermsOptionClick = this._onTermsOptionClick.bind(this);
|
this._onTermsOptionClick = this._onTermsOptionClick.bind(this);
|
||||||
this._onSendFeedback = this._onSendFeedback.bind(this);
|
this._onSendFeedback = this._onSendFeedback.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_onAbout: (*) => void;
|
||||||
|
|
||||||
_onIconClick: (*) => void;
|
_onIconClick: (*) => void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -107,6 +110,9 @@ export default class HelpButton extends Component< *, State> {
|
||||||
<Item onActivate = { this._onSendFeedback }>
|
<Item onActivate = { this._onSendFeedback }>
|
||||||
Send Feedback
|
Send Feedback
|
||||||
</Item>
|
</Item>
|
||||||
|
<Item onActivate = { this._onAbout }>
|
||||||
|
About
|
||||||
|
</Item>
|
||||||
</Group>
|
</Group>
|
||||||
</Droplist>
|
</Droplist>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue