Fixed FAQ nav

pull/197/head
M66B 4 years ago
parent e040bf2be8
commit 33a14a9acd

@ -155,7 +155,7 @@ public class Helper {
static final String PGP_BEGIN_MESSAGE = "-----BEGIN PGP MESSAGE-----"; static final String PGP_BEGIN_MESSAGE = "-----BEGIN PGP MESSAGE-----";
static final String PGP_END_MESSAGE = "-----END PGP MESSAGE-----"; static final String PGP_END_MESSAGE = "-----END PGP MESSAGE-----";
static final String FAQ_URI = "https://email.faircode.eu/faq/#top"; static final String FAQ_URI = "https://email.faircode.eu/faq/";
static final String XDA_URI = "https://forum.xda-developers.com/showthread.php?t=3824168"; static final String XDA_URI = "https://forum.xda-developers.com/showthread.php?t=3824168";
static final String SUPPORT_URI = "https://contact.faircode.eu/?product=fairemailsupport"; static final String SUPPORT_URI = "https://contact.faircode.eu/?product=fairemailsupport";
static final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID; static final String TEST_URI = "https://play.google.com/apps/testing/" + BuildConfig.APPLICATION_ID;
@ -700,7 +700,7 @@ public class Helper {
static void viewFAQ(Context context, int question) { static void viewFAQ(Context context, int question) {
if (question == 0) if (question == 0)
view(context, Uri.parse(FAQ_URI), false); view(context, Uri.parse(FAQ_URI + "#top"), false);
else else
view(context, Uri.parse(FAQ_URI + "#user-content-faq" + question), false); view(context, Uri.parse(FAQ_URI + "#user-content-faq" + question), false);
} }

Loading…
Cancel
Save