Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3536879
D7829.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
4 KB
Referenced Files
None
Subscribers
None
D7829.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 7:18 PM (11 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708244
Default Alt Text
D7829.diff (4 KB)
Attached To
Mode
D7829: [native] Rename RegistrationContainer to RegistrationContentContainer
Attached
Detach File
Event Timeline
Log In to Comment