TunnelListFragment: hide menu when going to settings
Really the menu should be hidden when clicking on the action bar, too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
f0a3e63743
commit
db53e17e58
@ -229,6 +229,12 @@ public class TunnelListFragment extends BaseFragment {
|
||||
binding.createMenu.collapse();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
binding.createMenu.collapse();
|
||||
super.onPause();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSelectedTunnelChanged(final Tunnel oldTunnel, final Tunnel newTunnel) {
|
||||
// Do nothing.
|
||||
|
Loading…
Reference in New Issue
Block a user