Skip to content

Commit f8871d9

Browse files
authored
Merge pull request #17351 from wordpress-mobile/issue/17350-enable-new-jp-landing-screen
Enable the Revamped Landing Screen in the Jetpack app
2 parents 956253a + 37d22e5 commit f8871d9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
21.1
44
-----
5-
5+
* [***] [Jetpack-only] Redesigned the landing screen. [https://github.com/wordpress-mobile/WordPress-Android/pull/17351]
66

77
21.0
88
-----

WordPress/src/main/java/org/wordpress/android/util/config/LandingScreenRevampFeatureConfig.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@ import javax.inject.Inject
99
*/
1010
@FeatureInDevelopment
1111
class LandingScreenRevampFeatureConfig
12-
@Inject constructor(appConfig: AppConfig) : FeatureConfig(appConfig, BuildConfig.LANDING_SCREEN_REVAMP)
12+
@Inject constructor(appConfig: AppConfig) : FeatureConfig(appConfig, BuildConfig.LANDING_SCREEN_REVAMP) {
13+
override fun isEnabled(): Boolean {
14+
return BuildConfig.IS_JETPACK_APP || super.isEnabled()
15+
}
16+
}

0 commit comments

Comments
 (0)