diff options
Diffstat (limited to 'app/src/main/java/se/leap')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java index 7d97dfbb..3db86205 100644 --- a/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java +++ b/app/src/main/java/se/leap/bitmaskclient/drawer/NavigationDrawerFragment.java @@ -268,8 +268,8 @@ public class NavigationDrawerFragment extends Fragment { useBridges.setOnCheckedChangeListener((buttonView, isChecked) -> { usePluggableTransports(getContext(), isChecked); if (VpnStatus.isVPNActive()) { - EipCommand.startVPN(getContext(), false); - closeDrawerWithDelay(); + EipCommand.startVPN(getContext(), true); + closeDrawer(); } }); |