[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…
Reference in New Issue