commit 85c833192a17ad561bef1e39eb99708783f1e13c Author: bim dsnake@protonmail.com Date: Sun May 10 19:55:30 2020 -0400
When a new CAPTCHA is requested, immediately clear the old solution EditText instead of waiting for the CAPTCHA to finish downloading. --- .../main/java/org/torproject/android/ui/onboarding/MoatActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/app/src/main/java/org/torproject/android/ui/onboarding/MoatActivity.java b/app/src/main/java/org/torproject/android/ui/onboarding/MoatActivity.java index df390a2f..c733c7ad 100644 --- a/app/src/main/java/org/torproject/android/ui/onboarding/MoatActivity.java +++ b/app/src/main/java/org/torproject/android/ui/onboarding/MoatActivity.java @@ -184,13 +184,12 @@ public class MoatActivity extends AppCompatActivity implements View.OnClickListe public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.menu_refresh: + mEtSolution.setText(""); fetchCaptcha(); - return true;
case android.R.id.home: finish(); - return true; }
tor-commits@lists.torproject.org