summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-30 18:44:38 +0100
committercyBerta <cyberta@riseup.net>2021-11-30 18:44:38 +0100
commitc24afd30cd4dd3752e9e3b33e043ab70ec110750 (patch)
treecc27682ba9bd2ffde7010616d0dd7660393e3ff5 /app/src/main/java
parentb73c63ea2bf582bc4bf031ce96b60b438cce3968 (diff)
fix missing ok button in some error handling cases
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/MainActivityErrorDialog.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/MainActivityErrorDialog.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/MainActivityErrorDialog.java
index f1895307..27d61a69 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/MainActivityErrorDialog.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/MainActivityErrorDialog.java
@@ -151,9 +151,8 @@ public class MainActivityErrorDialog extends DialogFragment {
}
break;
case ERROR_VPN_PREPARE:
- builder.setPositiveButton(android.R.string.ok, (dialog, which) -> { });
- break;
default:
+ builder.setPositiveButton(android.R.string.ok, (dialog, which) -> { });
break;
}