From bb1aa8af5073d53aade567944ce0b6aee671e487 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sat, 19 Jan 2019 22:38:16 +0000 Subject: [PATCH] Welcome wizard: Disable "back" button on keygen slide (fixes #239) (#248) --- .../nutomic/syncthingandroid/activities/FirstStartActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java index b5906426..9ed89405 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/FirstStartActivity.java @@ -508,6 +508,7 @@ public class FirstStartActivity extends AppCompatActivity { * Perform secure key generation in an AsyncTask. */ private void onKeyGenerationSlideShown() { + mBackButton.setVisibility(View.GONE); mNextButton.setVisibility(View.GONE); KeyGenerationTask keyGenerationTask = new KeyGenerationTask(this); keyGenerationTask.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);