From 232c5607e7b0f5eb42c827f07dcf03e390deb837 Mon Sep 17 00:00:00 2001 From: bjoern Date: Fri, 27 Oct 2023 20:24:55 +0200 Subject: [PATCH] remove scan-qr-button from protection-ok-dialog, fix url (#2762) * remove scan-qr-button from protection-ok-dialog there is no need to push ppl to re-scan a qr-code at this point (in contrast to protection-broken-dialog) * fix url --- src/org/thoughtcrime/securesms/connect/DcHelper.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/connect/DcHelper.java b/src/org/thoughtcrime/securesms/connect/DcHelper.java index 26c298a9c..9b1b63074 100644 --- a/src/org/thoughtcrime/securesms/connect/DcHelper.java +++ b/src/org/thoughtcrime/securesms/connect/DcHelper.java @@ -451,7 +451,7 @@ public class DcHelper { public static void showVerificationBrokenDialog(Context context, String name) { new AlertDialog.Builder(context) .setMessage(context.getString(R.string.chat_protection_broken_explanation, name)) - .setNeutralButton(R.string.learn_more, (d, w) -> IntentUtils.showBrowserIntent(context, "https://staging.delta.chat/684/en/help#verificationbroken")) + .setNeutralButton(R.string.learn_more, (d, w) -> IntentUtils.showBrowserIntent(context, "https://staging.delta.chat/733/en/help#verificationbroken")) .setNegativeButton(R.string.qrscan_title, (d, w) -> context.startActivity(new Intent(context, QrActivity.class))) .setPositiveButton(R.string.ok, null) .setCancelable(true) @@ -462,7 +462,6 @@ public class DcHelper { new AlertDialog.Builder(context) .setMessage(context.getString(R.string.chat_protection_enabled_explanation)) .setNeutralButton(R.string.learn_more, (d, w) -> IntentUtils.showBrowserIntent(context, "https://staging.delta.chat/733/en/help#verifiedchats")) - .setNegativeButton(R.string.qrscan_title, (d, w) -> context.startActivity(new Intent(context, QrActivity.class))) .setPositiveButton(R.string.ok, null) .setCancelable(true) .show();