mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
[Android] Fix refreshing the games list after adding a directory
This was a regression from the time we introrduced the Platform enums.
This commit is contained in:
parent
b921f6cdef
commit
42fa129552
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ public final class MainActivity extends AppCompatActivity implements MainView
|
|||
@Nullable
|
||||
private PlatformGamesView getPlatformGamesView(Platform platform)
|
||||
{
|
||||
String fragmentTag = "android:switcher:" + mViewPager.getId() + ":" + platform;
|
||||
String fragmentTag = "android:switcher:" + mViewPager.getId() + ":" + platform.toInt();
|
||||
|
||||
return (PlatformGamesView) getSupportFragmentManager().findFragmentByTag(fragmentTag);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue