Update option.go

Improve naming
This commit is contained in:
Daniel Hovie 2023-07-20 14:24:14 +02:00 committed by GitHub
parent c992b8ea54
commit 52ba3f0a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,11 +108,10 @@ const (
// requirement. The type of RequiresAnnotation is []ValueRequirement
// or ValueRequirement.
RequiresAnnotation = "safing/portbase:config:requires"
// SettingRequiresFeaturePlan can be used to mark a setting as only available
// when the user has a certain feature ID activated by the subscription plan.
// RequiresFeaturePlan can be used to mark a setting as only available
// when the user has a certain feature ID in the subscription plan.
// The type is []string or string.
SettingRequiresFeaturePlan = "safing/portmaster:ui:config:requires-feature"
RequiresFeatureID = "safing/portmaster:ui:config:requires-feature"
)
// QuickSettingsAction defines the action of a quick setting.