Add "about" to help menu
This commit is contained in:
parent
c3d5c8e609
commit
d3c77c847a
|
@ -1,5 +1,10 @@
|
|||
|
||||
export default {
|
||||
/**
|
||||
* The URL with extra information about the app / service.
|
||||
*/
|
||||
aboutURL: 'https://jitsi.org/what-is-jitsi/',
|
||||
|
||||
/**
|
||||
* Application name.
|
||||
*/
|
||||
|
@ -16,12 +21,12 @@ export default {
|
|||
feedbackURL: 'mailto:support@jitsi.org',
|
||||
|
||||
/**
|
||||
* The url of Privacy Policy Page.
|
||||
* The URL of Privacy Policy Page.
|
||||
*/
|
||||
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'
|
||||
};
|
||||
|
|
|
@ -32,12 +32,15 @@ export default class HelpButton extends Component< *, State> {
|
|||
droplistOpen: false
|
||||
};
|
||||
|
||||
this._onAbout = openExternalLink.bind(undefined, config.aboutURL);
|
||||
this._onIconClick = this._onIconClick.bind(this);
|
||||
this._onPrivacyOptionClick = this._onPrivacyOptionClick.bind(this);
|
||||
this._onTermsOptionClick = this._onTermsOptionClick.bind(this);
|
||||
this._onSendFeedback = this._onSendFeedback.bind(this);
|
||||
}
|
||||
|
||||
_onAbout: (*) => void;
|
||||
|
||||
_onIconClick: (*) => void;
|
||||
|
||||
/**
|
||||
|
@ -107,6 +110,9 @@ export default class HelpButton extends Component< *, State> {
|
|||
<Item onActivate = { this._onSendFeedback }>
|
||||
Send Feedback
|
||||
</Item>
|
||||
<Item onActivate = { this._onAbout }>
|
||||
About
|
||||
</Item>
|
||||
</Group>
|
||||
</Droplist>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue