mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
connecting unsealed setting in admins screen
This commit is contained in:
parent
f5e9b5de61
commit
76246ac6eb
@ -192,10 +192,10 @@ export function Dashboard(props) {
|
||||
</TouchableOpacity>
|
||||
|
||||
<TouchableOpacity style={styles.media} activeOpacity={1}
|
||||
onPress={() => actions.setPushSupported(!state.pushSupported)}>
|
||||
onPress={() => actions.setPushSupported(!state.allowUnsealed)}>
|
||||
<Text style={styles.modalLabel}>{ state.strings.allowUnsealed }</Text>
|
||||
<Switch style={styles.switch} value={state.pushSupported}
|
||||
onValueChange={actions.setPushSupported} trackColor={styles.track}/>
|
||||
<Switch style={styles.switch} value={state.allowUnsealed}
|
||||
onValueChange={actions.setAllowUnsealed} trackColor={styles.track}/>
|
||||
</TouchableOpacity>
|
||||
|
||||
<View style={styles.label}></View>
|
||||
|
Loading…
Reference in New Issue
Block a user