applying PR fixes.

This commit is contained in:
Warrick Corfe-Tan 2021-08-18 11:17:42 +10:00
parent f9ad63d58b
commit 48b4aab63c
4 changed files with 5 additions and 7 deletions

View file

@ -432,6 +432,5 @@
"recoveryPhraseSecureTitle": "You're almost finished!",
"recoveryPhraseRevealMessage": "Secure your account by saving your recovery phrase. Reveal your recovery phrase then store it safely to secure it",
"recoveryPhraseRevealButtonText": "Reveal Recovery Phrase",
"recoveryPhraseInfoMessage": "Meet your recovery phrase Your recovery phrase is the master key to your session ID - you can use it to restore your Session ID if you lose access to your device, Store your recovery phrase in a safe place, and don't give it to anyone.",
"recoveryPhraseCompleteTitle": "Account secured!"
}

View file

@ -73,7 +73,6 @@ export const LeftPaneSectionHeader = (props: Props) => {
export const LeftPaneBanner = () => {
const [completion, setCompletion] = useState(90);
const [bodyText, setBodyText] = useState(window.i18n('recoveryPhraseRevealMessage'));
const [buttonText, setButtonText] = useState(window.i18n('recoveryPhraseRevealButtonText'));
const [recoveryPhraseHidden, setRecoveryPhraseHidden] = useState(true);
const [isCompleted, setIsCompleted] = useState(false);
const [bannerTitle, setBannerTitle] = useState(window.i18n('recoveryPhraseSecureTitle'));
@ -114,7 +113,7 @@ export const LeftPaneBanner = () => {
{!isCompleted && (
<SessionButton
buttonType={SessionButtonType.Default}
text={buttonText}
text={window.i18n('recoveryPhraseRevealButtonText')}
onClick={showRecoveryPhraseModal}
/>
)}

View file

@ -96,7 +96,6 @@ class SessionRecordingInner extends React.Component<Props, State> {
// tslint:disable-next-line: cyclomatic-complexity
public render() {
const {
actionHover,
isPlaying,
isPaused,
isRecording,

View file

@ -14,9 +14,10 @@ const borderLightThemeColor = '#f1f1f1';
const borderDarkThemeColor = '#ffffff0F';
const borderHighContrastLightTheme = '#afafaf';
const borderHighContrastDarkTheme = '#484848';
const borderAvatarColor = '#00000059';
const borderLightTheme = '#f1f1f1';
const borderDarkTheme = '#ffffff0F';
// const borderAvatarColor = '#00000059';
// const borderLightTheme = '#f1f1f1';
// const borderDarkTheme = '#ffffff0F';
const common = {
fonts: {