Fix handling

This commit is contained in:
Thoronium 2023-06-25 13:36:01 -06:00
parent 7c9b2f7335
commit f1ecb1aab0

View File

@ -152,7 +152,9 @@ export default class Options extends React.Component<IProps, IState> {
// If setting any other game, automatically set to redirect more
if (!value.toLowerCase().includes('genshin' || 'yuanshen')) {
this.toggleOption('redirect_more')
if (!this.state.redirect_more) {
this.toggleOption('redirect_more')
}
}
this.setState({