1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-29 15:51:17 +00:00

Welcome wizard: Disable "back" button on keygen slide (fixes #239) (#248)

This commit is contained in:
Catfriend1 2019-01-19 22:38:16 +00:00 committed by GitHub
parent d16ba49416
commit bb1aa8af50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);