diff --git a/app/build.gradle b/app/build.gradle index e57f73a263..de31175813 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -219,7 +219,7 @@ android { buildConfigField "String", "GITHUB_LATEST_URI", "\"https://github.com/M66B/FairEmail/releases\"" buildConfigField "String", "BITBUCKET_DOWNLOADS_API", "\"https://api.bitbucket.org/2.0/repositories/M66B/fairemail-test/downloads\"" buildConfigField "String", "BITBUCKET_DOWNLOADS_URI", "\"https://bitbucket.org/M66B/fairemail-test/downloads/\"" - buildConfigField "String", "ANNOUNCEMENT_URI", "\"https://gist.githubusercontent.com/M66B/d544192ca56224839d6ba0f2f6314c1f/raw/\"" + buildConfigField "String", "ANNOUNCEMENT_URI", "\"\"" buildConfigField "String", "CLOUD_URI", "\"https://api.fairemail.net/sync\"" buildConfigField "String", "CLOUD_EMAIL", "\"cloud@in.faircode.eu\"" buildConfigField "String", "TX_URI", "\"\"" diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java index d18c61a429..e8a12d7bf9 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsMisc.java @@ -1932,8 +1932,7 @@ public class FragmentOptionsMisc extends FragmentBase implements SharedPreferenc (Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext())) ? View.GONE : View.VISIBLE); grpBitbucket.setVisibility(View.GONE); - grpAnnouncements.setVisibility(!BuildConfig.DEBUG && - (Helper.isPlayStoreInstall() || !Helper.hasValidFingerprint(getContext())) + grpAnnouncements.setVisibility(TextUtils.isEmpty(BuildConfig.ANNOUNCEMENT_URI) ? View.GONE : View.VISIBLE); grpTest.setVisibility(BuildConfig.TEST_RELEASE ? View.VISIBLE : View.GONE);