correcting target of text button in settings

This commit is contained in:
balzack 2025-03-05 12:35:56 -08:00
parent 50eed2cbe5
commit 2253784dd7

View File

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