mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Hide un_elevated toggle on Linux
This commit is contained in:
@@ -479,18 +479,20 @@ export default class Options extends React.Component<IProps, IState> {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="OptionSection" id="menuOptionsContainerUEGame">
|
{this.state.platform !== 'linux' && (
|
||||||
<div className="OptionLabel" id="menuOptionsLabelUEGame">
|
<div className="OptionSection" id="menuOptionsContainerUEGame">
|
||||||
<Tr text="options.un_elevated" />
|
<div className="OptionLabel" id="menuOptionsLabelUEGame">
|
||||||
|
<Tr text="options.un_elevated" />
|
||||||
|
</div>
|
||||||
|
<div className="OptionValue" id="menuOptionsCheckboxUEGame">
|
||||||
|
<Checkbox
|
||||||
|
onChange={() => this.toggleOption('un_elevated')}
|
||||||
|
checked={this.state?.un_elevated}
|
||||||
|
id="unElevatedGame"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="OptionValue" id="menuOptionsCheckboxUEGame">
|
)}
|
||||||
<Checkbox
|
|
||||||
onChange={() => this.toggleOption('un_elevated')}
|
|
||||||
checked={this.state?.un_elevated}
|
|
||||||
id="unElevatedGame"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{this.state.swag ? (
|
{this.state.swag ? (
|
||||||
<div className="OptionSection" id="menuOptionsContainerHorny">
|
<div className="OptionSection" id="menuOptionsContainerHorny">
|
||||||
<div className="OptionLabel" id="menuOptionsLabelHorny">
|
<div className="OptionLabel" id="menuOptionsLabelHorny">
|
||||||
|
|||||||
Reference in New Issue
Block a user