diff --git a/WordPress/src/main/java/org/wordpress/android/ui/themes/ThemeBrowserActivity.java b/WordPress/src/main/java/org/wordpress/android/ui/themes/ThemeBrowserActivity.java index 98f56478e336..3a7d6c85bbb4 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/themes/ThemeBrowserActivity.java +++ b/WordPress/src/main/java/org/wordpress/android/ui/themes/ThemeBrowserActivity.java @@ -29,6 +29,7 @@ import org.wordpress.android.fluxc.model.SiteModel; import org.wordpress.android.fluxc.model.ThemeModel; import org.wordpress.android.fluxc.store.ThemeStore; +import org.wordpress.android.fluxc.store.ThemeStore.FetchedWpComThemesPayload; import org.wordpress.android.fluxc.store.ThemeStore.OnCurrentThemeFetched; import org.wordpress.android.fluxc.store.ThemeStore.OnSiteThemesChanged; import org.wordpress.android.fluxc.store.ThemeStore.OnThemeActivated; @@ -398,7 +399,7 @@ private void fetchCurrentTheme() { private void fetchWpComThemesIfSyncTimedOut(boolean force) { long currentTime = System.currentTimeMillis(); if (force || currentTime - AppPrefs.getLastWpComThemeSync() > WP_COM_THEMES_SYNC_TIMEOUT) { - mDispatcher.dispatch(ThemeActionBuilder.newFetchWpComThemesAction()); + mDispatcher.dispatch(ThemeActionBuilder.newFetchWpComThemesAction(FetchedWpComThemesPayload())); } }