mirror of
https://github.com/balzack/databag.git
synced 2025-03-13 00:50:03 +00:00
correcting target of text button in settings
This commit is contained in:
parent
50eed2cbe5
commit
2253784dd7
@ -509,7 +509,7 @@ export function Settings({showLogout}: {showLogout: boolean}) {
|
||||
<Icon size={24} source="ticket-confirmation-outline" />
|
||||
</View>
|
||||
<View style={styles.control}>
|
||||
<TouchableOpacity activeOpacity={1} onPress={() => setRegistry(!state.config.searchable)}>
|
||||
<TouchableOpacity activeOpacity={1} onPress={() => setMfa(!state.config.mfaEnabled)}>
|
||||
<Text style={styles.controlLabel}>{state.strings.mfaTitle}</Text>
|
||||
</TouchableOpacity>
|
||||
<Switch style={styles.controlSwitch} value={state.config.mfaEnabled} onValueChange={setMfa} />
|
||||
|
Loading…
Reference in New Issue
Block a user