mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Merge pull request #7530 from zackhow/settings-fix
Android: fix custom game control ui
This commit is contained in:
commit
580c26dc1c
@ -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
Block a user