Add feature flag for voice messages (#1507)

This commit is contained in:
jonnyandrew
2023-10-06 13:53:47 +01:00
committed by GitHub
parent daf46d77e8
commit 9e73d6ddc2
2 changed files with 7 additions and 0 deletions
@@ -43,4 +43,10 @@ enum class FeatureFlags(
title = "Show notification settings",
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.Polls -> true
FeatureFlags.NotificationSettings -> true
FeatureFlags.VoiceMessages -> false
}
} else {
false