From 0d3f7a06967d2bf76fca8fc07f457799d81af724 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sat, 1 Feb 2020 11:24:23 +0100 Subject: [PATCH] add a real 'cancel' button to 'start simplified setup?' i tried to rename the 'cancel' button to 'login manually' as suggested at https://github.com/deltachat/interface/issues/33 however, playing around with this change a bit in real setup situations, this does not really help on making things easier. - the user sees a dialog opening that lacks an option to 'just close' it at the first glance, one feels stuck - he has to understand that 'login manually' is the thing he already started in the previous dialog therefore, i think a simple 'cancel' might not be perfect, but according to 'login manually' the better choice. however, maybe we can reword the text, saying more explicit what cancel does. but even then, not sure if the user really reads the things, and i think the text is already a bit long. also, whatever the user chooses, there is not really a 'bad choice' - in both decisions, the user will either succeed logging in or come back to the intial screen. also, thinking of ios, there the 'cancel' button is always much more highlighted as the other ones - having buttons named 'cancel' feels natural, but having a bold 'login manually' is a bit weird as the 'simplified' choice is probably easier in most cases. sure, this is ios and we can do things different there, however, it is another point :) --- src/org/thoughtcrime/securesms/RegistrationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/RegistrationActivity.java b/src/org/thoughtcrime/securesms/RegistrationActivity.java index d1a0a0925..b5afd1c25 100644 --- a/src/org/thoughtcrime/securesms/RegistrationActivity.java +++ b/src/org/thoughtcrime/securesms/RegistrationActivity.java @@ -310,7 +310,7 @@ public class RegistrationActivity extends BaseActionBarActivity implements DcEve new AlertDialog.Builder(this) .setTitle(R.string.login_info_oauth2_title) .setMessage(R.string.login_info_oauth2_text) - .setNegativeButton(R.string.login_manually, (dialog, which)->{ + .setNegativeButton(R.string.cancel, (dialog, which)->{ oauth2DeclinedByUser = true; oauth2started.set(false); })