mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
removing channel push option
This commit is contained in:
parent
97ec0067fc
commit
2f723f3759
@ -67,7 +67,7 @@ export function Conversation({ navigation, cardId, channelId, closeConversation,
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={navigation ? 100 : 0}>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'padding' : 'height'} keyboardVerticalOffset={navigation ? Platform.OS === 'ios' ? 72 : 100 : 0}>
|
||||
<View style={styles.container}>
|
||||
{ !navigation && (
|
||||
<View style={styles.header}>
|
||||
|
@ -105,18 +105,6 @@ export function Details({ channel, clearConversation }) {
|
||||
</View>
|
||||
</View>
|
||||
|
||||
<View style={styles.controls}>
|
||||
<View style={styles.notify}>
|
||||
<TouchableOpacity onPress={() => setNotifications(!state.notification)} activeOpacity={1}>
|
||||
<Text style={styles.notifyText}>{ state.strings.enableNotifications }</Text>
|
||||
</TouchableOpacity>
|
||||
{ state.notification != null && (
|
||||
<Switch value={state.notification} style={Platform.OS==='ios' ? styles.visibleSwitch : {}} thumbColor={Colors.sliderGrip}
|
||||
ios_backgroundColor={Colors.idleFill} trackColor={styles.track} onValueChange={setNotifications} />
|
||||
)}
|
||||
</View>
|
||||
</View>
|
||||
|
||||
<View style={styles.control}>
|
||||
{ busy && (
|
||||
<ActivityIndicator animating={true} color={Colors.text} size={'large'} />
|
||||
|
Loading…
Reference in New Issue
Block a user