mirror of
https://github.com/balzack/databag.git
synced 2025-04-22 01:25:17 +00:00
adding close button to conversation
This commit is contained in:
parent
13a7081361
commit
41d97c7a46
@ -52,6 +52,9 @@ export function Conversation({ channel, closeConversation, openDetails }) {
|
||||
<TouchableOpacity style={styles.action} onPress={openDetails}>
|
||||
<Ionicons name="setting" size={20} color={Colors.primary} />
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity style={styles.close} onPress={closeConversation}>
|
||||
<Ionicons name="close" size={20} color={Colors.text} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
<View style={styles.body}>
|
||||
<ConversationBody channel={channel} />
|
||||
|
@ -44,5 +44,12 @@ export const styles = StyleSheet.create({
|
||||
topics: {
|
||||
height: '100%',
|
||||
},
|
||||
close: {
|
||||
flexGrow: 1,
|
||||
justifyContent: 'flex-end',
|
||||
alignItems: 'flex-end',
|
||||
paddingRight: 32,
|
||||
paddingLeft: 16,
|
||||
},
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user