Android: Fix swapped labels for analog controller settings

This commit is contained in:
Connor McLaughlin 2021-03-20 02:58:43 +10:00
parent 891b4642b7
commit d61a9875e1

View file

@ -291,11 +291,11 @@ public class ControllerSettingsActivity extends AppCompatActivity {
if (controllerType.equals("AnalogController")) { if (controllerType.equals("AnalogController")) {
mSettingsCategory.addPreference( mSettingsCategory.addPreference(
createTogglePreference(String.format("Controller%d/ForceAnalogOnReset", controllerIndex), createTogglePreference(String.format("Controller%d/ForceAnalogOnReset", controllerIndex),
R.string.settings_use_analog_sticks_for_dpad, R.string.settings_summary_enable_analog_mode_on_reset, true)); R.string.settings_enable_analog_mode_on_reset, R.string.settings_summary_enable_analog_mode_on_reset, true));
mSettingsCategory.addPreference( mSettingsCategory.addPreference(
createTogglePreference(String.format("Controller%d/AnalogDPadInDigitalMode", controllerIndex), createTogglePreference(String.format("Controller%d/AnalogDPadInDigitalMode", controllerIndex),
R.string.settings_enable_analog_mode_on_reset, R.string.settings_summary_use_analog_sticks_for_dpad, true)); R.string.settings_use_analog_sticks_for_dpad, R.string.settings_summary_use_analog_sticks_for_dpad, true));
} }
} }