Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added 'Copied!' text to textChecked of buttons in 2FA #20889

Merged
merged 1 commit into from
Jun 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export default {
per: 'per',
mi: 'mile',
km: 'kilometer',
copied: 'Copied!',
},
anonymousReportFooter: {
logoTagline: 'Join in on the discussion.',
Expand Down
1 change: 1 addition & 0 deletions src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export default {
per: 'por',
mi: 'milla',
km: 'kilómetro',
copied: '¡Copiado!',
},
anonymousReportFooter: {
logoTagline: 'Únete a la discussion.',
Expand Down
1 change: 1 addition & 0 deletions src/pages/settings/Security/TwoFactorAuth/CodesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ function CodesPage(props) {
<View style={styles.twoFactorAuthCodesButtonsContainer}>
<PressableWithDelayToggle
text={props.translate('twoFactorAuth.copyCodes')}
textChecked={props.translate('common.copied')}
icon={Expensicons.Copy}
inline={false}
onPress={() => {
Expand Down
1 change: 1 addition & 0 deletions src/pages/settings/Security/TwoFactorAuth/VerifyPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ function VerifyPage(props) {
{Boolean(props.account.twoFactorAuthSecretKey) && <Text>{splitSecretInChunks(props.account.twoFactorAuthSecretKey)}</Text>}
<PressableWithDelayToggle
text={props.translate('twoFactorAuth.copy')}
textChecked={props.translate('common.copied')}
icon={Expensicons.Copy}
inline={false}
onPress={() => Clipboard.setString(props.account.twoFactorAuthSecretKey)}
Expand Down