summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-01-13 17:06:50 +0100
committercyBerta <cyberta@riseup.net>2018-01-13 17:06:50 +0100
commit3596d43ee4a499b3cc64be8077f7fcf57128422c (patch)
treeffcb4149c29c370ebafb66b34dacb51a99d0e5ad /app/src/main/java
parentd84eb0a1b223a5e80ddf69ba8c4ed1ccc4caeaaa (diff)
#8796 fixes that two dialogs appear on cancel vpn
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/VpnFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java b/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java
index f1a15efd..0dfccc68 100644
--- a/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/VpnFragment.java
@@ -206,7 +206,7 @@ public class VpnFragment extends Fragment implements Observer {
.setPositiveButton((android.R.string.yes), new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
- askToStopEIP();
+ stopEipIfPossible();
}
})
.setNegativeButton(dashboard.getString(android.R.string.no), new DialogInterface.OnClickListener() {