From d2cee55c358c159f0832752a90652eb062a9caad Mon Sep 17 00:00:00 2001 From: Freeplay Date: Sun, 14 May 2023 19:10:48 -0400 Subject: [PATCH] Change "Classic" to "Centered" --- locales/en-US.yml | 2 +- packages/client/src/navbar.ts | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 7df19e815e..58f64d823f 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -919,7 +919,7 @@ manageAccounts: "Manage Accounts" makeReactionsPublic: "Set reaction history to public" makeReactionsPublicDescription: "This will make the list of all your past reactions\ \ publicly visible." -classic: "Classic" +classic: "Centered" muteThread: "Mute thread" unmuteThread: "Unmute thread" ffVisibility: "Follows/Followers Visibility" diff --git a/packages/client/src/navbar.ts b/packages/client/src/navbar.ts index 3f1ae2824f..074e8896c1 100644 --- a/packages/client/src/navbar.ts +++ b/packages/client/src/navbar.ts @@ -120,14 +120,6 @@ export const navbarItemDef = reactive({ unisonReload(); }, }, - { - text: i18n.ts.deck, - active: ui === "deck", - action: () => { - localStorage.setItem("ui", "deck"); - unisonReload(); - }, - }, { text: i18n.ts.classic, active: ui === "classic", @@ -136,6 +128,14 @@ export const navbarItemDef = reactive({ unisonReload(); }, }, + { + text: i18n.ts.deck, + active: ui === "deck", + action: () => { + localStorage.setItem("ui", "deck"); + unisonReload(); + }, + }, ], ev.currentTarget ?? ev.target, );