From e8c3b08d398068903794eff76d7609dcf2370ef0 Mon Sep 17 00:00:00 2001 From: Adam Grzybkowski Date: Tue, 7 Jan 2025 08:25:55 +0100 Subject: [PATCH] Fix gravatar_quick_editor feature flag setup (#21552) --- WordPress/build.gradle | 2 +- .../android/util/config/GravatarQuickEditorFeatureConfig.kt | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/WordPress/build.gradle b/WordPress/build.gradle index 366aa3ae6cf5..be737b5d5503 100644 --- a/WordPress/build.gradle +++ b/WordPress/build.gradle @@ -163,7 +163,7 @@ android { buildConfigField "boolean", "VOICE_TO_CONTENT", "false" buildConfigField "boolean", "READER_FLOATING_BUTTON", "false" buildConfigField "boolean", "ENABLE_SELF_HOSTED_USERS", "false" - buildConfigField "boolean", "GRAVATAR_QUICK_EDITOR", "true" + buildConfigField "boolean", "GRAVATAR_QUICK_EDITOR", "false" // Override these constants in jetpack product flavor to enable/ disable features buildConfigField "boolean", "ENABLE_SITE_CREATION", "true" diff --git a/WordPress/src/main/java/org/wordpress/android/util/config/GravatarQuickEditorFeatureConfig.kt b/WordPress/src/main/java/org/wordpress/android/util/config/GravatarQuickEditorFeatureConfig.kt index 05cf6284ebe5..f956586ca177 100644 --- a/WordPress/src/main/java/org/wordpress/android/util/config/GravatarQuickEditorFeatureConfig.kt +++ b/WordPress/src/main/java/org/wordpress/android/util/config/GravatarQuickEditorFeatureConfig.kt @@ -10,10 +10,6 @@ class GravatarQuickEditorFeatureConfig @Inject constructor(appConfig: AppConfig) BuildConfig.GRAVATAR_QUICK_EDITOR, GRAVATAR_QUICK_EDITOR_REMOTE_FIELD ) { - override fun isEnabled(): Boolean { - return super.isEnabled() && BuildConfig.GRAVATAR_QUICK_EDITOR - } - companion object { const val GRAVATAR_QUICK_EDITOR_REMOTE_FIELD = "gravatar_quick_editor" }