[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [orbot/master] Issue #309: Error alert button should say "OK" instead of "Cancel", since there's nothing to cancel, really, just to acknowledge the error.
commit ff7cbcf2c7d58417d12b755f81ce189d939ea9c8
Author: Benjamin Erhart <berhart@xxxxxxxxxxxxxxxxxxx>
Date: Thu Apr 30 15:03:18 2020 +0200
Issue #309: Error alert button should say "OK" instead of "Cancel", since there's nothing to cancel, really, just to acknowledge the error.
---
.../main/java/org/torproject/android/ui/onboarding/MoatActivity.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 a98b4c65..7dfc4745 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
@@ -427,7 +427,7 @@ public class MoatActivity extends AppCompatActivity implements View.OnClickListe
new AlertDialog.Builder(this)
.setTitle(R.string.error)
.setMessage(TextUtils.isEmpty(detail) ? exception.getLocalizedMessage() : detail)
- .setNegativeButton(R.string.btn_cancel, null)
+ .setNegativeButton(R.string.btn_okay, null)
.show();
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits