Skip to content

Commit

Permalink
Renamed val
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradbury committed Sep 26, 2024
1 parent d15f668 commit 526adb4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ import javax.inject.Inject
/**
* Configuration of the self-hosted users feature
*/
private const val ENABLE_SELF_HOSTED_USERS_REMOTE_FIELD = "enable_self_hosted_users"
private const val SELF_HOSTED_USERS_REMOTE_FIELD = "self_hosted_users"

@Feature(ENABLE_SELF_HOSTED_USERS_REMOTE_FIELD, false)
@Feature(SELF_HOSTED_USERS_REMOTE_FIELD, false)
class SelfHostedUsersFeatureConfig
@Inject constructor(appConfig: AppConfig) : FeatureConfig(
appConfig,
BuildConfig.ENABLE_SELF_HOSTED_USERS,
ENABLE_SELF_HOSTED_USERS_REMOTE_FIELD
SELF_HOSTED_USERS_REMOTE_FIELD
) {
override fun isEnabled(): Boolean {
return super.isEnabled() && BuildConfig.DEBUG
Expand Down

0 comments on commit 526adb4

Please sign in to comment.