From 0760db212a12c2e69ddf40438fd64a983b4337fb Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 22 Sep 2021 20:28:22 +0200 Subject: [PATCH] Bring back external changelog --- app/build.gradle | 3 +++ app/src/main/java/eu/faircode/email/FragmentAbout.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index b3c201a446..9e64ee8b2e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -139,6 +139,7 @@ android { buildConfigField "boolean", "PLAY_STORE_RELEASE", "false" buildConfigField "boolean", "AMAZON_RELEASE", "false" buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/donate/\"" + buildConfigField "String", "CHANGELOG", "\"https://github.com/M66B/FairEmail/releases/\"" buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/FairEmail/releases/latest\"" buildConfigField "String", "GITHUB_LATEST_URI", "\"https://github.com/M66B/FairEmail/releases\"" buildConfigField "String", "GRAVATAR_URI", "\"https://www.gravatar.com/avatar/\"" @@ -150,6 +151,7 @@ android { buildConfigField "boolean", "PLAY_STORE_RELEASE", "false" buildConfigField "boolean", "AMAZON_RELEASE", "false" buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/donate/\"" + buildConfigField "String", "CHANGELOG", "\"https://github.com/M66B/FairEmail/releases/\"" buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/FairEmail/releases/latest\"" buildConfigField "String", "GITHUB_LATEST_URI", "\"https://github.com/M66B/FairEmail/releases\"" buildConfigField "String", "GRAVATAR_URI", "\"https://www.gravatar.com/avatar/\"" @@ -162,6 +164,7 @@ android { buildConfigField "boolean", "PLAY_STORE_RELEASE", "true" buildConfigField "boolean", "AMAZON_RELEASE", "false" buildConfigField "String", "PRO_FEATURES_URI", "\"https://email.faircode.eu/#pro\"" + buildConfigField "String", "CHANGELOG", "\"\"" buildConfigField "String", "GITHUB_LATEST_API", "\"\"" buildConfigField "String", "GITHUB_LATEST_URI", "\"\"" buildConfigField "String", "GRAVATAR_URI", "\"\"" diff --git a/app/src/main/java/eu/faircode/email/FragmentAbout.java b/app/src/main/java/eu/faircode/email/FragmentAbout.java index f01c2d005d..ebf804b0b3 100644 --- a/app/src/main/java/eu/faircode/email/FragmentAbout.java +++ b/app/src/main/java/eu/faircode/email/FragmentAbout.java @@ -87,7 +87,7 @@ public class FragmentAbout extends FragmentBase { if (BuildConfig.PLAY_STORE_RELEASE) Helper.view(v.getContext(), Helper.getIntentRate(v.getContext())); else - onMenuChangelog(); + Helper.view(v.getContext(), Uri.parse(BuildConfig.CHANGELOG), false); } });