Merge pull request #1554 from vector-im/feature/fga/init_pin_unlock

[Pin code] : setup the feature
This commit is contained in:
ganfra 2023-10-13 12:38:41 +02:00 committed by GitHub
commit c6a6ccc844
33 changed files with 881 additions and 32 deletions

View file

@ -49,4 +49,10 @@ enum class FeatureFlags(
description = "Send and receive voice messages",
defaultValue = false,
),
PinUnlock(
key = "feature.pinunlock",
title = "Pin unlock",
description = "Allow user to lock/unlock the app with a pin code or biometrics",
defaultValue = false,
),
}

View file

@ -36,6 +36,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
FeatureFlags.Polls -> true
FeatureFlags.NotificationSettings -> true
FeatureFlags.VoiceMessages -> false
FeatureFlags.PinUnlock -> false
}
} else {
false