From 388e82d5e29dab5c9a3c9a80116e2387f87d07b1 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 12 Feb 2021 15:58:59 +0100 Subject: [PATCH] Change support URI --- app/src/main/java/eu/faircode/email/Helper.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index ab1047ef65..fb7dd549ea 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -720,8 +720,12 @@ public class Helper { } intent.putExtra(Intent.EXTRA_SUBJECT, context.getString(R.string.title_issue_subject, version)); return intent; - } else - return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI)); + } else { + if (Helper.hasValidFingerprint(context)) + return new Intent(Intent.ACTION_VIEW, Uri.parse(SUPPORT_URI)); + else + return new Intent(Intent.ACTION_VIEW, Uri.parse(XDA_URI)); + } } static Intent getIntentRate(Context context) {