remove useless code and make sha commit selectable

pull/1094/head
Audric Ackermann 6 years ago
parent ab22db246b
commit cd143d8758
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -551,8 +551,6 @@ export class RegistrationTabs extends React.Component<{}, State> {
} }
private renderTermsConditionAgreement() { private renderTermsConditionAgreement() {
// FIXME add link to our Terms and Conditions and privacy statement
return ( return (
<div className="session-terms-conditions-agreement"> <div className="session-terms-conditions-agreement">
<SessionHtmlRenderer html={window.i18n('ByUsingThisService...')} /> <SessionHtmlRenderer html={window.i18n('ByUsingThisService...')} />
@ -893,7 +891,7 @@ export class RegistrationTabs extends React.Component<{}, State> {
await this.accountManager.requestPairing(primaryPubKey); await this.accountManager.requestPairing(primaryPubKey);
const pubkey = window.textsecure.storage.user.getNumber(); const pubkey = window.textsecure.storage.user.getNumber();
const words = window.mnemonic.pubkey_to_secret_words(pubkey); const words = window.mnemonic.pubkey_to_secret_words(pubkey);
window.console.log(`Here is your secret:\n${words}`); // window.console.log(`Here is your secret:\n${words}`);
window.pushToast({ window.pushToast({
title: `${window.i18n('secretPrompt')}`, title: `${window.i18n('secretPrompt')}`,
description: words, description: words,

@ -256,8 +256,8 @@ export class SettingsView extends React.Component<SettingsViewProps, State> {
public renderSessionInfo(): JSX.Element { public renderSessionInfo(): JSX.Element {
return ( return (
<div className="session-settings__version-info"> <div className="session-settings__version-info">
<span>v{window.versionInfo.version}</span> <span className="text-selectable">v{window.versionInfo.version}</span>
<span>{window.versionInfo.commitHash}</span> <span className="text-selectable">{window.versionInfo.commitHash}</span>
</div> </div>
); );
} }

Loading…
Cancel
Save