Commit ca3da938 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

The CurrentNetworksFragment has to invalidate the OptionsMenu as well

parent 9fdb5466
Subproject commit 6cfaa8c2b490f9f0e480976d51f5fd662ae70be9
Subproject commit 15846800dc064d5233bd85ac30eab478eb953057
......@@ -297,6 +297,11 @@ public class MainActivity extends NavigationDrawerActivity implements RuleImport
public Fragment getFragment(@Nullable Bundle arguments) {
return new CurrentNetworksFragment();
}
}).accessLastItemAndContinue(new DrawerItemCreator.ItemAccessor() {
@Override
public void access(DrawerItem item) {
item.setInvalidateActivityMenu(true);
}
});
}
if(PreferencesAccessor.isAdvancedModeEnabled(this)){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment