Page MenuHomePhabricator

D10988.diff
No OneTemporary

D10988.diff

diff --git a/native/community-creation/community-creation-members.react.js b/native/community-creation/community-creation-members.react.js
--- a/native/community-creation/community-creation-members.react.js
+++ b/native/community-creation/community-creation-members.react.js
@@ -1,7 +1,7 @@
// @flow
import * as React from 'react';
-import { ActivityIndicator } from 'react-native';
+import { ActivityIndicator, StyleSheet, View } from 'react-native';
import {
useChangeThreadSettings,
@@ -168,19 +168,29 @@
<RegistrationContainer>
<CommunityCreationContentContainer>
<CommunityCreationKeyserverLabel />
- <TagInput
- value={selectedUsers}
- onChange={setSelectedUsers}
- text={usernameInputText}
- onChangeText={setUsernameInputText}
- labelExtractor={tagDataLabelExtractor}
- inputProps={tagInputProps}
- ref={tagInputRef}
- />
- <UserList userInfos={userSearchResults} onSelect={onSelectUser} />
+ <View style={styles.addMembersContainer}>
+ <TagInput
+ value={selectedUsers}
+ onChange={setSelectedUsers}
+ text={usernameInputText}
+ onChangeText={setUsernameInputText}
+ labelExtractor={tagDataLabelExtractor}
+ inputProps={tagInputProps}
+ ref={tagInputRef}
+ />
+ <UserList userInfos={userSearchResults} onSelect={onSelectUser} />
+ </View>
</CommunityCreationContentContainer>
</RegistrationContainer>
);
}
+const styles = StyleSheet.create({
+ addMembersContainer: {
+ flex: 1,
+ paddingHorizontal: 20,
+ paddingVertical: 8,
+ },
+});
+
export default CommunityCreationMembers;

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 3:04 AM (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2690251
Default Alt Text
D10988.diff (1 KB)

Event Timeline