mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Add feature flag for voice messages (#1507)
This commit is contained in:
+6
@@ -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,
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
|||||||
+1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user