Add feature flag
This commit is contained in:
parent
683eb778dc
commit
eea849d74c
7 changed files with 22 additions and 4 deletions
|
|
@ -32,4 +32,8 @@ enum class FeatureFlags(
|
|||
description = "Render poll events in the timeline",
|
||||
defaultValue = false,
|
||||
)
|
||||
NotificationSettings(
|
||||
key = "feature.notificationsettings",
|
||||
title = "Show notification settings",
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ class BuildtimeFeatureFlagProvider @Inject constructor() :
|
|||
when (feature) {
|
||||
FeatureFlags.LocationSharing -> true
|
||||
FeatureFlags.Polls -> false
|
||||
FeatureFlags.NotificationSettings -> false
|
||||
}
|
||||
} else {
|
||||
false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue