Skip to content

Commit

Permalink
Fix gravatar_quick_editor feature flag setup (#21552)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGrzybkowski authored Jan 7, 2025
1 parent 9589a3f commit e8c3b08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion WordPress/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit e8c3b08

Please sign in to comment.