summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2019-04-29 15:59:50 -0400
committerDaniel Micay <danielmicay@gmail.com>2019-04-29 15:59:50 -0400
commitdbec9063364b5ac77701658a6c7b38955eff7e72 (patch)
treefc625ff21f8213f3647a3fda14c8e320ce2e5fa1 /static
parentfd933b281f0427b7de4b23f4fdd3c48929754b1b (diff)
reorder devices in code for consistency
Diffstat (limited to 'static')
-rw-r--r--static/releases.js8
1 files 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";
}