mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-12 09:51:24 +02: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
@ -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…
x
Reference in New Issue
Block a user