Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3537005
D7831.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
958 B
Referenced Files
None
Subscribers
None
D7831.diff
View Options
diff --git a/native/account/registration/registration-content-container.react.js b/native/account/registration/registration-content-container.react.js
--- a/native/account/registration/registration-content-container.react.js
+++ b/native/account/registration/registration-content-container.react.js
@@ -5,7 +5,6 @@
import { ScrollView } from 'react-native';
import KeyboardAvoidingView from '../../components/keyboard-avoiding-view.react.js';
-import { useStyles } from '../../themes/colors.js';
type ViewProps = React.ElementConfig<typeof ScrollView>;
type Props = {
@@ -23,10 +22,9 @@
[headerHeight],
);
- const styles = useStyles(unboundStyles);
const contentContainerStyle = React.useMemo(
() => [styles.scrollViewContentContainer, style],
- [styles.scrollViewContentContainer, style],
+ [style],
);
return (
@@ -43,7 +41,7 @@
);
}
-const unboundStyles = {
+const styles = {
fill: {
flex: 1,
},
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 7:47 PM (11 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2708315
Default Alt Text
D7831.diff (958 B)
Attached To
Mode
D7831: [native] Remove useStyles call from RegistrationContentContainer
Attached
Detach File
Event Timeline
Log In to Comment