summaryrefslogtreecommitdiff
path: root/app/src/main/java/se
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/se')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/SetupSuccessFragment.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/SetupSuccessFragment.java b/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/SetupSuccessFragment.java
index 3e241012..eb775e2a 100644
--- a/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/SetupSuccessFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/providersetup/fragments/SetupSuccessFragment.java
@@ -26,7 +26,12 @@ public class SetupSuccessFragment extends BaseSetupFragment {
@Nullable Bundle savedInstanceState) {
FSetupSuccessBinding binding = FSetupSuccessBinding.inflate(inflater, container, false);
- binding.mainButton.setOnClickListener(v -> setupActivityCallback.onSetupFinished());
+ binding.mainButton.setOnClickListener(v -> {
+ setupActivityCallback.onSetupFinished();
+ binding.mainButton.updateState(false, true);
+ binding.mainButton.setEnabled(false);
+ });
+
return binding.getRoot();
}