Android: fix custom game control ui

Missed in previous rebase
This commit is contained in:
zackhow 2018-10-28 22:28:55 -04:00
parent 2b905eb06a
commit e02b80cfa8
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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