Skip to content

Commit

Permalink
Fix Modules fragment refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
vladholubiev committed Feb 14, 2015
1 parent 052ca5e commit b498c71
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,10 @@ private static void openLoginFragment() {
@SuppressWarnings("UnusedDeclaration")
public void onEvent(RefreshEndEvent event) {
if (FragmentsKeeper.getModules().isVisible()) {
FragmentsKeeper.setModules(new ModulesFragment());
FragmentUtils.showFragment(fragmentManager.beginTransaction(), FragmentsKeeper.getModules());
} else {
FragmentsKeeper.setModules(new ModulesFragment());
}
}

Expand Down

0 comments on commit b498c71

Please sign in to comment.