From 3596d43ee4a499b3cc64be8077f7fcf57128422c Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 13 Jan 2018 17:06:50 +0100 Subject: #8796 fixes that two dialogs appear on cancel vpn --- app/src/main/java/se/leap/bitmaskclient/VpnFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') 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() { -- cgit v1.2.3