From dbec9063364b5ac77701658a6c7b38955eff7e72 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Mon, 29 Apr 2019 15:59:50 -0400 Subject: [PATCH] reorder devices in code for consistency --- static/releases.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/releases.js b/static/releases.js index fb9c6473..f807a31c 100644 --- a/static/releases.js +++ b/static/releases.js @@ -2,7 +2,7 @@ const baseUrl = "https://seamlessupdate.app/"; 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"]; function createLink(href, text) { @@ -13,12 +13,12 @@ function createLink(href, text) { } function deviceModel(device) { - if (device === "blueline") { - return "Pixel 3"; - } if (device === "crosshatch") { return "Pixel 3 XL"; } + if (device === "blueline") { + return "Pixel 3"; + } if (device === "taimen") { return "Pixel 2 XL"; }