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

[Wallet] Update Account Key backup prompt #5941

Merged
merged 6 commits into from
Nov 27, 2020
Merged

[Wallet] Update Account Key backup prompt #5941

merged 6 commits into from
Nov 27, 2020

Conversation

gnardini
Copy link
Contributor

Description

Changed the backup prompt for a full screen thing following the design on Figma

Screen Shot 2020-11-23 at 18 53 25

Tested

Manually on iOS and Android

Related issues

@@ -84,6 +75,11 @@ interface InviteModalAction {
inviteModalVisible: boolean
}

interface ActiveScreenChangedAction {
type: Actions.ACTIVE_SCREEN_CHANGED
activeScreen: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use the Screens enum here?

Copy link
Contributor

@etuleu etuleu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

Copy link
Contributor

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Mostly small things 👍

@@ -3,6 +3,8 @@
"introTitle": "Your Account Key",
"introBody": "Your Account Key is the most important part of your account.\n\nPlease find a private place to set up your key. It takes about five minutes.",
"introPrimaryAction": "Set Up Now",
"backupSetupTitle": "Set Up Your Account Key",
"backupSetupBody": "To protect your funds, you're required to set up your Account Key before you can continue using Valora.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"backupSetupBody": "To protect your funds, you're required to set up your Account Key before you can continue using Valora.",
"backupSetupBody": "To protect your funds, you're required to set up your Account Key before you can continue using {{appName}}.",

@@ -3,6 +3,8 @@
"introTitle": "La Clave de Cuenta",
"introBody": "La clave de tu cuenta es la parte más importante de tu cuenta. Configurarla toma cinco minutos",
"introPrimaryAction": "Configurar Ahora",
"backupSetupTitle": "Configura Tu Clave De Cuenta",
"backupSetupBody": "Para proteger tus fondos, debes configurar tu Clave de Cuenta antes de poder continuar usando Valora.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"backupSetupBody": "Para proteger tus fondos, debes configurar tu Clave de Cuenta antes de poder continuar usando Valora.",
"backupSetupBody": "Para proteger tus fondos, debes configurar tu Clave de Cuenta antes de poder continuar usando {{appName}}.",

const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'column',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: this is the default already.

Suggested change
flexDirection: 'column',

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I know. I just always put the direction when it's important because it helps imo to have that sort of things explicit, but I can see how one might think it's unnecessary. Removed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes no worry, fine to keep it too 👍

packages/mobile/src/backup/BackupForceScreen.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🚢

@gnardini gnardini added the automerge Have PR merge automatically when checks pass label Nov 27, 2020
@mergify mergify bot merged commit 69daaa7 into master Nov 27, 2020
@mergify mergify bot deleted the account-lock branch November 27, 2020 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass wallet
Projects
None yet
3 participants