removing channel push option

This commit is contained in:
Roland Osborne 2023-10-10 13:54:45 -07:00
parent 97ec0067fc
commit 2f723f3759
3 changed files with 1 additions and 15 deletions

View File

@ -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}>

View File

@ -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'} />

2
todo
View File

@ -4,8 +4,6 @@ registry showing stale handle for unknown contact
show disabled notifications if node disabled
warn if federated hostname fails
channel detail notifications
block restore activity
use apn for ios
stylize splash screen
use dot indicator for non-connected contact