1
0
Fork 1
mirror of https://example.com synced 2024-11-29 02:46:40 +09:00

switch position of social and recommended

This commit is contained in:
naskya 2023-06-01 07:24:49 +09:00
parent 618042c3e3
commit 9d9047c33d
Signed by: naskya
GPG key ID: 164DFF24E2D40139

View file

@ -109,12 +109,12 @@ let timelines = ["home"];
if (isLocalTimelineAvailable) { if (isLocalTimelineAvailable) {
timelines.push("local"); timelines.push("local");
} }
if (isRecommendedTimelineAvailable) {
timelines.push("recommended");
}
if (isLocalTimelineAvailable) { if (isLocalTimelineAvailable) {
timelines.push("social"); timelines.push("social");
} }
if (isRecommendedTimelineAvailable) {
timelines.push("recommended");
}
if (isGlobalTimelineAvailable) { if (isGlobalTimelineAvailable) {
timelines.push("global"); timelines.push("global");
} }
@ -255,16 +255,6 @@ const headerTabs = $computed(() => [
}, },
] ]
: []), : []),
...(isRecommendedTimelineAvailable
? [
{
key: "recommended",
title: i18n.ts._timelines.recommended,
icon: "ph-thumbs-up ph-bold ph-lg",
iconOnly: true,
},
]
: []),
...(isLocalTimelineAvailable ...(isLocalTimelineAvailable
? [ ? [
{ {
@ -275,6 +265,16 @@ const headerTabs = $computed(() => [
}, },
] ]
: []), : []),
...(isRecommendedTimelineAvailable
? [
{
key: "recommended",
title: i18n.ts._timelines.recommended,
icon: "ph-thumbs-up ph-bold ph-lg",
iconOnly: true,
},
]
: []),
...(isGlobalTimelineAvailable ...(isGlobalTimelineAvailable
? [ ? [
{ {