Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33307887
D8089.1768800032.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D8089.1768800032.diff
View Options
diff --git a/native/account/registration/avatar-selection.react.js b/native/account/registration/avatar-selection.react.js
--- a/native/account/registration/avatar-selection.react.js
+++ b/native/account/registration/avatar-selection.react.js
@@ -26,7 +26,7 @@
+userSelections: {
+coolOrNerdMode: CoolOrNerdMode,
+keyserverUsername: string,
- +accountSelections: AccountSelection,
+ +accountSelection: AccountSelection,
},
};
@@ -42,19 +42,19 @@
};
function AvatarSelection(props: Props): React.Node {
const { userSelections } = props.route.params;
- const { accountSelections } = userSelections;
+ const { accountSelection } = userSelections;
const username =
- accountSelections.accountType === 'username'
- ? accountSelections.username
- : accountSelections.address;
+ accountSelection.accountType === 'username'
+ ? accountSelection.username
+ : accountSelection.address;
const editUserAvatarContext = React.useContext(EditUserAvatarContext);
invariant(editUserAvatarContext, 'editUserAvatarContext should be set');
const { setRegistrationMode } = editUserAvatarContext;
const prefetchedAvatarURI =
- accountSelections.accountType === 'ethereum'
- ? accountSelections.avatarURI
+ accountSelection.accountType === 'ethereum'
+ ? accountSelection.avatarURI
: undefined;
const [avatarData, setAvatarData] = React.useState<?AvatarData>(
diff --git a/native/account/registration/connect-ethereum.react.js b/native/account/registration/connect-ethereum.react.js
--- a/native/account/registration/connect-ethereum.react.js
+++ b/native/account/registration/connect-ethereum.react.js
@@ -159,7 +159,7 @@
const newUserSelections = {
...userSelections,
- accountSelections: {
+ accountSelection: {
accountType: 'ethereum',
...result,
avatarURI,
diff --git a/native/account/registration/password-selection.react.js b/native/account/registration/password-selection.react.js
--- a/native/account/registration/password-selection.react.js
+++ b/native/account/registration/password-selection.react.js
@@ -70,7 +70,7 @@
const newUserSelections = {
coolOrNerdMode,
keyserverUsername,
- accountSelections: {
+ accountSelection: {
accountType: 'username',
username,
password,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 5:20 AM (18 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5954539
Default Alt Text
D8089.1768800032.diff (2 KB)
Attached To
Mode
D8089: [native] Rename accountSelections to accountSelection
Attached
Detach File
Event Timeline
Log In to Comment