|
|
@ -25,52 +25,61 @@ enum class FeatureFlags( |
|
|
|
override val key: String, |
|
|
|
override val key: String, |
|
|
|
override val title: String, |
|
|
|
override val title: String, |
|
|
|
override val description: String? = null, |
|
|
|
override val description: String? = null, |
|
|
|
override val defaultValue: Boolean |
|
|
|
override val defaultValue: Boolean, |
|
|
|
|
|
|
|
override val isFinished: Boolean, |
|
|
|
) : Feature { |
|
|
|
) : Feature { |
|
|
|
LocationSharing( |
|
|
|
LocationSharing( |
|
|
|
key = "feature.locationsharing", |
|
|
|
key = "feature.locationsharing", |
|
|
|
title = "Allow user to share location", |
|
|
|
title = "Allow user to share location", |
|
|
|
defaultValue = true, |
|
|
|
defaultValue = true, |
|
|
|
|
|
|
|
isFinished = true, |
|
|
|
), |
|
|
|
), |
|
|
|
Polls( |
|
|
|
Polls( |
|
|
|
key = "feature.polls", |
|
|
|
key = "feature.polls", |
|
|
|
title = "Polls", |
|
|
|
title = "Polls", |
|
|
|
description = "Create poll and render poll events in the timeline", |
|
|
|
description = "Create poll and render poll events in the timeline", |
|
|
|
defaultValue = true, |
|
|
|
defaultValue = true, |
|
|
|
|
|
|
|
isFinished = true, |
|
|
|
), |
|
|
|
), |
|
|
|
NotificationSettings( |
|
|
|
NotificationSettings( |
|
|
|
key = "feature.notificationsettings", |
|
|
|
key = "feature.notificationsettings", |
|
|
|
title = "Show notification settings", |
|
|
|
title = "Show notification settings", |
|
|
|
defaultValue = true, |
|
|
|
defaultValue = true, |
|
|
|
|
|
|
|
isFinished = true, |
|
|
|
), |
|
|
|
), |
|
|
|
VoiceMessages( |
|
|
|
VoiceMessages( |
|
|
|
key = "feature.voicemessages", |
|
|
|
key = "feature.voicemessages", |
|
|
|
title = "Voice messages", |
|
|
|
title = "Voice messages", |
|
|
|
description = "Send and receive voice messages", |
|
|
|
description = "Send and receive voice messages", |
|
|
|
defaultValue = true, |
|
|
|
defaultValue = true, |
|
|
|
|
|
|
|
isFinished = true, |
|
|
|
), |
|
|
|
), |
|
|
|
PinUnlock( |
|
|
|
PinUnlock( |
|
|
|
key = "feature.pinunlock", |
|
|
|
key = "feature.pinunlock", |
|
|
|
title = "Pin unlock", |
|
|
|
title = "Pin unlock", |
|
|
|
description = "Allow user to lock/unlock the app with a pin code or biometrics", |
|
|
|
description = "Allow user to lock/unlock the app with a pin code or biometrics", |
|
|
|
defaultValue = true, |
|
|
|
defaultValue = true, |
|
|
|
|
|
|
|
isFinished = true, |
|
|
|
), |
|
|
|
), |
|
|
|
Mentions( |
|
|
|
Mentions( |
|
|
|
key = "feature.mentions", |
|
|
|
key = "feature.mentions", |
|
|
|
title = "Mentions", |
|
|
|
title = "Mentions", |
|
|
|
description = "Type `@` to get mention suggestions and insert them", |
|
|
|
description = "Type `@` to get mention suggestions and insert them", |
|
|
|
defaultValue = false, |
|
|
|
defaultValue = false, |
|
|
|
|
|
|
|
isFinished = false, |
|
|
|
), |
|
|
|
), |
|
|
|
SecureStorage( |
|
|
|
SecureStorage( |
|
|
|
key = "feature.securestorage", |
|
|
|
key = "feature.securestorage", |
|
|
|
title = "Chat backup", |
|
|
|
title = "Chat backup", |
|
|
|
description = "Allow access to backup and restore chat history settings", |
|
|
|
description = "Allow access to backup and restore chat history settings", |
|
|
|
defaultValue = false, |
|
|
|
defaultValue = false, |
|
|
|
|
|
|
|
isFinished = false, |
|
|
|
), |
|
|
|
), |
|
|
|
ReadReceipts( |
|
|
|
ReadReceipts( |
|
|
|
key = "feature.readreceipts", |
|
|
|
key = "feature.readreceipts", |
|
|
|
title = "Show read receipts", |
|
|
|
title = "Show read receipts", |
|
|
|
description = null, |
|
|
|
description = null, |
|
|
|
defaultValue = false, |
|
|
|
defaultValue = false, |
|
|
|
|
|
|
|
isFinished = false, |
|
|
|
), |
|
|
|
), |
|
|
|
} |
|
|
|
} |
|
|
|