mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-08 13:43:33 +01:00
Merge pull request #10225 from JosJuice/android-game-settings-title
Android: Properly set game settings title when navigating backwards
This commit is contained in:
commit
b14d982d36
@ -93,6 +93,12 @@ public final class SettingsFragmentPresenter
|
|||||||
public void onViewCreated(MenuTag menuTag, Settings settings)
|
public void onViewCreated(MenuTag menuTag, Settings settings)
|
||||||
{
|
{
|
||||||
this.mMenuTag = menuTag;
|
this.mMenuTag = menuTag;
|
||||||
|
|
||||||
|
if (!TextUtils.isEmpty(mGameID))
|
||||||
|
{
|
||||||
|
mView.getActivity().setTitle(mContext.getString(R.string.game_settings, mGameID));
|
||||||
|
}
|
||||||
|
|
||||||
setSettings(settings);
|
setSettings(settings);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -122,10 +128,6 @@ public final class SettingsFragmentPresenter
|
|||||||
|
|
||||||
private void loadSettingsList()
|
private void loadSettingsList()
|
||||||
{
|
{
|
||||||
if (!TextUtils.isEmpty(mGameID))
|
|
||||||
{
|
|
||||||
mView.getActivity().setTitle(mContext.getString(R.string.game_settings, mGameID));
|
|
||||||
}
|
|
||||||
ArrayList<SettingsItem> sl = new ArrayList<>();
|
ArrayList<SettingsItem> sl = new ArrayList<>();
|
||||||
|
|
||||||
switch (mMenuTag)
|
switch (mMenuTag)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user