Page MenuHomePhabricator

D7829.id26513.diff
No OneTemporary

D7829.id26513.diff

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
@@ -4,7 +4,7 @@
import { Text, View } from 'react-native';
import RegistrationButton from './registration-button.react.js';
-import RegistrationContainer from './registration-container.react.js';
+import RegistrationContentContainer from './registration-content-container.react.js';
import type { RegistrationNavigationProp } from './registration-navigator.react.js';
import type { CoolOrNerdMode } from './registration-types.js';
import type { NavigationRoute } from '../../navigation/route-names.js';
@@ -73,7 +73,7 @@
return (
<View style={styles.container}>
- <RegistrationContainer style={styles.scrollViewContentContainer}>
+ <RegistrationContentContainer style={styles.scrollViewContentContainer}>
<Text style={styles.header}>
Do you want to connect an Ethereum Wallet to your account?
</Text>
@@ -81,7 +81,7 @@
<View style={styles.ethereumLogoContainer}>
<EthereumLogoDark />
</View>
- </RegistrationContainer>
+ </RegistrationContentContainer>
<RegistrationButton
onPress={onConnect}
label="Connect Ethereum wallet"
diff --git a/native/account/registration/cool-or-nerd-mode-selection.react.js b/native/account/registration/cool-or-nerd-mode-selection.react.js
--- a/native/account/registration/cool-or-nerd-mode-selection.react.js
+++ b/native/account/registration/cool-or-nerd-mode-selection.react.js
@@ -5,7 +5,7 @@
import { Text, View } from 'react-native';
import RegistrationButton from './registration-button.react.js';
-import RegistrationContainer from './registration-container.react.js';
+import RegistrationContentContainer from './registration-content-container.react.js';
import type { RegistrationNavigationProp } from './registration-navigator.react.js';
import {
RegistrationTile,
@@ -48,7 +48,7 @@
const styles = useStyles(unboundStyles);
return (
<View style={styles.container}>
- <RegistrationContainer>
+ <RegistrationContentContainer>
<Text style={styles.header}>To begin, choose your fighter</Text>
<Text style={styles.body}>
Do you want Comm to choose reasonable defaults for you, or do you want
@@ -83,7 +83,7 @@
We select reasonable defaults for you.
</Text>
</RegistrationTile>
- </RegistrationContainer>
+ </RegistrationContentContainer>
<RegistrationButton
onPress={onSubmit}
label="Next"
diff --git a/native/account/registration/keyserver-selection.react.js b/native/account/registration/keyserver-selection.react.js
--- a/native/account/registration/keyserver-selection.react.js
+++ b/native/account/registration/keyserver-selection.react.js
@@ -5,7 +5,7 @@
import { Text, TextInput, View } from 'react-native';
import RegistrationButton from './registration-button.react.js';
-import RegistrationContainer from './registration-container.react.js';
+import RegistrationContentContainer from './registration-content-container.react.js';
import type { RegistrationNavigationProp } from './registration-navigator.react.js';
import {
RegistrationTile,
@@ -78,7 +78,7 @@
const colors = useColors();
return (
<View style={styles.container}>
- <RegistrationContainer>
+ <RegistrationContentContainer>
<Text style={styles.header}>Select a keyserver to join</Text>
<Text style={styles.body}>
Chat communities on Comm are hosted on keyservers, which are
@@ -123,7 +123,7 @@
ref={customKeyserverTextInputRef}
/>
</RegistrationTile>
- </RegistrationContainer>
+ </RegistrationContentContainer>
<RegistrationButton
onPress={onSubmit}
label="Next"
diff --git a/native/account/registration/registration-container.react.js b/native/account/registration/registration-content-container.react.js
rename from native/account/registration/registration-container.react.js
rename to native/account/registration/registration-content-container.react.js
--- a/native/account/registration/registration-container.react.js
+++ b/native/account/registration/registration-content-container.react.js
@@ -12,7 +12,7 @@
...ViewProps,
+children: React.Node,
};
-function RegistrationContainer(props: Props): React.Node {
+function RegistrationContentContainer(props: Props): React.Node {
const { children, style, ...rest } = props;
const headerHeight = useHeaderHeight();
@@ -52,4 +52,4 @@
},
};
-export default RegistrationContainer;
+export default RegistrationContentContainer;

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 7:04 AM (8 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708244
Default Alt Text
D7829.id26513.diff (4 KB)

Event Timeline