reorder devices in code for consistency

This commit is contained in:
Daniel Micay 2019-04-29 15:59:50 -04:00
parent fd933b281f
commit dbec906336

View File

@ -2,7 +2,7 @@
const baseUrl = "https://seamlessupdate.app/"; const baseUrl = "https://seamlessupdate.app/";
const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/"; const versionBaseUrl = "https://github.com/GrapheneOS/platform_manifest/releases/tag/";
const devices = ["blueline", "crosshatch", "taimen", "walleye", "marlin", "sailfish"]; const devices = ["crosshatch", "blueline", "taimen", "walleye", "marlin", "sailfish"];
const channels = ["stable", "beta"]; const channels = ["stable", "beta"];
function createLink(href, text) { function createLink(href, text) {
@ -13,12 +13,12 @@ function createLink(href, text) {
} }
function deviceModel(device) { function deviceModel(device) {
if (device === "blueline") {
return "Pixel 3";
}
if (device === "crosshatch") { if (device === "crosshatch") {
return "Pixel 3 XL"; return "Pixel 3 XL";
} }
if (device === "blueline") {
return "Pixel 3";
}
if (device === "taimen") { if (device === "taimen") {
return "Pixel 2 XL"; return "Pixel 2 XL";
} }