Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wade
DnsChanger
Commits
ca3da938
Commit
ca3da938
authored
Apr 08, 2018
by
Daniel Wolf
Browse files
The CurrentNetworksFragment has to invalidate the OptionsMenu as well
parent
9fdb5466
Changes
2
Hide whitespace changes
Inline
Side-by-side
AndroidUtils
@
15846800
Compare
6cfaa8c2
...
15846800
Subproject commit
6cfaa8c2b490f9f0e480976d51f5fd662ae70be9
Subproject commit
15846800dc064d5233bd85ac30eab478eb953057
app/src/main/java/com/frostnerd/dnschanger/activities/MainActivity.java
View file @
ca3da938
...
...
@@ -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
)){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment