Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Jetpack Focus] Make Landing Screen Revamp Feature Flag Configurable Remotely #17238

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,12 +1,21 @@
package org.wordpress.android.util.config

import org.wordpress.android.BuildConfig
import org.wordpress.android.annotation.FeatureInDevelopment
import org.wordpress.android.annotation.Feature
import javax.inject.Inject

/**
* Configuration for the landing screen revamp work
*/
@FeatureInDevelopment
class LandingScreenRevampFeatureConfig
@Inject constructor(appConfig: AppConfig) : FeatureConfig(appConfig, BuildConfig.LANDING_SCREEN_REVAMP)
@Feature(LandingScreenRevampFeatureConfig.LANDING_SCREEN_REVAMP_REMOTE_FIELD, false)
class LandingScreenRevampFeatureConfig @Inject constructor(
appConfig: AppConfig
) : FeatureConfig(
appConfig,
BuildConfig.LANDING_SCREEN_REVAMP,
LANDING_SCREEN_REVAMP_REMOTE_FIELD,
) {
companion object {
const val LANDING_SCREEN_REVAMP_REMOTE_FIELD = "landing_screen_revamp_remote_field"
}
}