mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Pin unlock : hides behind feature flag (disabled by default)
This commit is contained in:
+6
@@ -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,
|
||||
),
|
||||
}
|
||||
|
||||
+1
@@ -36,6 +36,7 @@ class StaticFeatureFlagProvider @Inject constructor() :
|
||||
FeatureFlags.Polls -> true
|
||||
FeatureFlags.NotificationSettings -> true
|
||||
FeatureFlags.VoiceMessages -> false
|
||||
FeatureFlags.PinUnlock -> false
|
||||
}
|
||||
} else {
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user