Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3559997
D7967.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D7967.diff
View Options
diff --git a/native/community-creation/community-configuration.react.js b/native/community-creation/community-configuration.react.js
--- a/native/community-creation/community-configuration.react.js
+++ b/native/community-creation/community-configuration.react.js
@@ -66,6 +66,24 @@
You may edit your community’s image and name later.
</Text>
</View>
+
+ <ThreadSettingsCategoryHeader type="full" title="OPTIONAL SETTINGS" />
+ <View style={styles.enumCell}>
+ <View style={styles.enumIcon}>
+ <CommIcon name="megaphone" size={24} color={colors.purpleButton} />
+ </View>
+ <View style={styles.enumInfoContainer}>
+ <Text style={styles.enumInfoName}>Announcement root</Text>
+ <Text style={styles.enumInfoDescription}>
+ Make it so that only admins can post to the root channel of the
+ community.
+ </Text>
+ </View>
+ <View style={styles.enumCheckBoxContainer}>
+ <View style={styles.enumCheckBox}></View>
+ </View>
+ </View>
+ <ThreadSettingsCategoryFooter type="full" />
</RegistrationContentContainer>
</RegistrationContainer>
);
@@ -119,6 +137,41 @@
communityNameNoticeText: {
color: 'panelForegroundTertiaryLabel',
},
+ enumCell: {
+ flexDirection: 'row',
+ height: 96,
+ backgroundColor: 'panelForeground',
+ },
+ enumIcon: {
+ padding: 16,
+ },
+ enumInfoContainer: {
+ flex: 1,
+ flexDirection: 'column',
+ justifyContent: 'space-evenly',
+ padding: 8,
+ },
+ enumInfoName: {
+ color: 'panelForegroundLabel',
+ fontSize: 18,
+ lineHeight: 24,
+ },
+ enumInfoDescription: {
+ color: 'panelForegroundSecondaryLabel',
+ lineHeight: 18,
+ },
+ enumCheckBoxContainer: {
+ padding: 22,
+ justifyContent: 'center',
+ alignItems: 'center',
+ },
+ enumCheckBox: {
+ height: 32,
+ width: 32,
+ borderRadius: 3.5,
+ borderWidth: 1,
+ borderColor: 'panelSecondaryForegroundBorder',
+ },
};
export default CommunityConfiguration;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 28, 6:52 AM (7 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2724472
Default Alt Text
D7967.diff (2 KB)
Attached To
Mode
D7967: [native] Add `enumCell` layout/styling to `CommunityConfiguration`
Attached
Detach File
Event Timeline
Log In to Comment