Android: fix custom game control ui
Missed in previous rebase
This commit is contained in:
parent
2b905eb06a
commit
e02b80cfa8
|
@ -75,7 +75,7 @@ public class InputBindingSetting extends SettingsItem
|
|||
preferences =
|
||||
PreferenceManager.getDefaultSharedPreferences(DolphinApplication.getAppContext());
|
||||
SharedPreferences.Editor editor = preferences.edit();
|
||||
editor.putString(getKey(), ui);
|
||||
editor.putString(getKey() + gameId, ui);
|
||||
editor.apply();
|
||||
|
||||
if (getSetting() == null)
|
||||
|
|
|
@ -42,7 +42,8 @@ public class RumbleBindingViewHolder extends SettingViewHolder
|
|||
mItem = (RumbleBindingSetting) item;
|
||||
|
||||
mTextSettingName.setText(item.getNameId());
|
||||
mTextSettingDescription.setText(sharedPreferences.getString(mItem.getKey(), ""));
|
||||
mTextSettingDescription
|
||||
.setText(sharedPreferences.getString(mItem.getKey() + mItem.getGameId(), ""));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue