[refactor] improve 4.5.0 update and version name

This commit is contained in:
zombieFox 2019-12-23 11:07:50 +00:00
parent a1ba15a5b3
commit d17ca9fa31
2 changed files with 3 additions and 9 deletions

View File

@ -705,14 +705,6 @@ var update = (function() {
b: 160
}
};
return data;
},
"4.4.0": function(data) {
data.state.header.button.colorAccent = data.state.header.button.accent;
delete data.state.header.button.accent;
return data;
},
"4.5.0": function(data) {
data.state.link.item.color = {
by: "theme",
custom: {
@ -721,6 +713,8 @@ var update = (function() {
b: 0
}
};
data.state.header.button.colorAccent = data.state.header.button.accent;
delete data.state.header.button.accent;
return data;
}
};

View File

@ -2,7 +2,7 @@ var version = (function() {
var current = "4.5.0";
var name = "Enchanting Aardvark";
var name = "Naughty Goose";
var compare = function(a, b) {
var pa = a.split(".");