[tor-commits] [orbot/master] When a new CAPTCHA is requested, immediately clear the old solution
n8fr8 at torproject.org
n8fr8 at torproject.org
Mon Aug 24 21:02:51 UTC 2020
commit 85c833192a17ad561bef1e39eb99708783f1e13c
Author: bim <dsnake at 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;
}
More information about the tor-commits
mailing list