Add feature flag for voice messages (#1507)
This commit is contained in:
parent
8526922587
commit
fe4e3ba1da
2 changed files with 7 additions and 0 deletions
|
|
@ -43,4 +43,10 @@ enum class FeatureFlags(
|
||||||
title = "Show notification settings",
|
title = "Show notification settings",
|
||||||
defaultValue = true,
|
defaultValue = true,
|
||||||
),
|
),
|
||||||
|
VoiceMessages(
|
||||||
|
key = "feature.voicemessages",
|
||||||
|
title = "Voice messages",
|
||||||
|
description = "Send and receive voice messages",
|
||||||
|
defaultValue = false,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
|
||||||
FeatureFlags.LocationSharing -> true
|
FeatureFlags.LocationSharing -> true
|
||||||
FeatureFlags.Polls -> true
|
FeatureFlags.Polls -> true
|
||||||
FeatureFlags.NotificationSettings -> true
|
FeatureFlags.NotificationSettings -> true
|
||||||
|
FeatureFlags.VoiceMessages -> false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue