@@ -52,7 +52,7 @@ local LibQTip = LibStub('LibQTip-1.0')
5252local L = LibStub (' AceLocale-3.0' ):GetLocale (addonName )
5353local LSM = LibStub (' LibSharedMedia-3.0' )
5454local VERSION = C_AddOns .GetAddOnMetadata (addonName , " Version" )
55- local INTERNALTWWVERSION = 6
55+ local INTERNALTWWVERSION = 7
5656local INTERNALWOTLKVERSION = 6
5757local INTERNALCATAVERSION = 3
5858local defaultDB = {
@@ -108,7 +108,7 @@ local defaultDB = {
108108 border = {
109109 edgeSize = 5 ,
110110 color = {0.39 , 0.39 , 0.39 , 1 },
111- bgColor = {0.1 , 0.1 , 0.1 , 0.9 }
111+ bgColor = {0 , 0 , 0 , 0.9 }
112112 },
113113 font = ' Expressway' ,
114114 fontSize = 11 ,
@@ -763,6 +763,27 @@ function PermoksAccountManager:Modernize(oldInternalVersion)
763763 self :AddLabelToDefaultCategory (' general' , ' timewarped_relic_coffer_key' , 27 )
764764 self :AddLabelToDefaultCategory (' raid' , ' blackrock_depths_raid' , 2 )
765765 end
766+
767+ if oldInternalVersion < 7 then
768+ self :AddLabelToDefaultCategory (' general' , ' veteran_crest' )
769+ self :AddLabelToDefaultCategory (' general' , ' normal_crest' )
770+ self :AddLabelToDefaultCategory (' general' , ' hero_crest' )
771+ self :AddLabelToDefaultCategory (' general' , ' myth_crest' )
772+ self :AddLabelToDefaultCategory (' general' , ' spark_drops' )
773+
774+ self :AddLabelToDefaultCategory (' currentweekly' , ' undermine_weeklies' , 19 )
775+ self :AddLabelToDefaultCategory (' currentweekly' , ' undermine_rares' )
776+
777+ self :AddLabelToDefaultCategory (' raid' , ' liberation_of_undermine' )
778+
779+ self :UpdateDefaultCategories (' renown' )
780+
781+ self :ReplaceLabelOfDefaultCategory (' general' , ' spark_omens' , ' spark_current' )
782+ self :RemoveLabelFromDefaultCategory (' general' , ' timewarped_relic_coffer_key' )
783+ self :RemoveLabelFromDefaultCategory (' general' , ' bronze_celebration_token' )
784+ self :FixOrderOfDefaultCategories ()
785+
786+ end
766787end
767788
768789function PermoksAccountManager :GetGUID ()
0 commit comments