mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
Merge pull request #11097 from JosJuice/android-launch-wii-menu-check
Android: Improve checking in MainPresenter.launchWiiSystemMenu
This commit is contained in:
@ -317,20 +317,20 @@ public final class MainPresenter
|
|||||||
|
|
||||||
private void launchWiiSystemMenu()
|
private void launchWiiSystemMenu()
|
||||||
{
|
{
|
||||||
if (WiiUtils.isSystemMenuInstalled())
|
new AfterDirectoryInitializationRunner().runWithLifecycle(mActivity, () ->
|
||||||
{
|
{
|
||||||
EmulationActivity.launchSystemMenu(mActivity);
|
if (WiiUtils.isSystemMenuInstalled())
|
||||||
}
|
{
|
||||||
else
|
EmulationActivity.launchSystemMenu(mActivity);
|
||||||
{
|
}
|
||||||
new AfterDirectoryInitializationRunner().runWithLifecycle(mActivity, () ->
|
else
|
||||||
{
|
{
|
||||||
SystemMenuNotInstalledDialogFragment dialogFragment =
|
SystemMenuNotInstalledDialogFragment dialogFragment =
|
||||||
new SystemMenuNotInstalledDialogFragment();
|
new SystemMenuNotInstalledDialogFragment();
|
||||||
dialogFragment
|
dialogFragment
|
||||||
.show(mActivity.getSupportFragmentManager(),
|
.show(mActivity.getSupportFragmentManager(),
|
||||||
"SystemMenuNotInstalledDialogFragment");
|
"SystemMenuNotInstalledDialogFragment");
|
||||||
});
|
}
|
||||||
}
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user