From 4864f4e40f33672cbeaf2922571d6c1b44fe1c75 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 6 Oct 2023 12:11:33 +0200 Subject: [PATCH] Fix annotation name --- profile/config.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/profile/config.go b/profile/config.go index ceff101b..d9028a91 100644 --- a/profile/config.go +++ b/profile/config.go @@ -256,9 +256,9 @@ In order to reduce noise optimize performance, internal and device-only (localho ExpertiseLevel: config.ExpertiseLevelUser, DefaultValue: false, Annotations: config.Annotations{ - config.DisplayOrderAnnotation: cfgOptionEnableHistoryOrder, - config.CategoryAnnotation: "General", - config.RequiresFeatureID: account.FeatureHistory, + config.DisplayOrderAnnotation: cfgOptionEnableHistoryOrder, + config.CategoryAnnotation: "General", + config.RequiresFeatureIDAnnotation: account.FeatureHistory, }, }) if err != nil { @@ -280,10 +280,10 @@ Set to 0 days to keep network history forever. Depending on your device, this mi ExpertiseLevel: config.ExpertiseLevelUser, DefaultValue: 30, Annotations: config.Annotations{ - config.UnitAnnotation: "Days", - config.DisplayOrderAnnotation: cfgOptionKeepHistoryOrder, - config.CategoryAnnotation: "General", - config.RequiresFeatureID: account.FeatureHistory, + config.UnitAnnotation: "Days", + config.DisplayOrderAnnotation: cfgOptionKeepHistoryOrder, + config.CategoryAnnotation: "General", + config.RequiresFeatureIDAnnotation: account.FeatureHistory, }, }) if err != nil {