Small change for a setting description

This commit is contained in:
Leon Styhre 2024-01-20 16:09:56 +01:00
parent 12677f493b
commit d0db0e65f2

View file

@ -1283,7 +1283,7 @@ void GuiMenu::openInputDeviceOptions()
// Whether to swap the A/B and X/Y buttons. // Whether to swap the A/B and X/Y buttons.
auto inputSwapButtons = std::make_shared<SwitchComponent>(); auto inputSwapButtons = std::make_shared<SwitchComponent>();
inputSwapButtons->setState(Settings::getInstance()->getBool("InputSwapButtons")); inputSwapButtons->setState(Settings::getInstance()->getBool("InputSwapButtons"));
s->addWithLabel("SWAP A/B AND X/Y BUTTONS", inputSwapButtons); s->addWithLabel("SWAP THE A/B AND X/Y BUTTONS", inputSwapButtons);
s->addSaveFunc([inputSwapButtons, s] { s->addSaveFunc([inputSwapButtons, s] {
if (Settings::getInstance()->getBool("InputSwapButtons") != inputSwapButtons->getState()) { if (Settings::getInstance()->getBool("InputSwapButtons") != inputSwapButtons->getState()) {
Settings::getInstance()->setBool("InputSwapButtons", inputSwapButtons->getState()); Settings::getInstance()->setBool("InputSwapButtons", inputSwapButtons->getState());