Reset register button status after an error.

Fixes #8052
This commit is contained in:
Greyson Parrelli 2018-08-13 15:56:13 -04:00
parent 8441ac4091
commit 2882ef6d9f

View File

@ -486,7 +486,9 @@ public class RegistrationActivity extends BaseActionBarActivity implements Verif
return new Pair<>(password, gcmToken);
} catch (IOException e) {
Log.w(TAG, e);
Log.w(TAG, "Error during account registration", e);
createButton.setIndeterminateProgressMode(false);
createButton.setProgress(0);
return null;
}
}