switch position of social and recommended

This commit is contained in:
naskya 2023-06-01 07:24:49 +09:00
parent 618042c3e3
commit 9d9047c33d
No known key found for this signature in database
GPG Key ID: 164DFF24E2D40139
1 changed files with 13 additions and 13 deletions

View File

@ -109,12 +109,12 @@ let timelines = ["home"];
if (isLocalTimelineAvailable) {
timelines.push("local");
}
if (isRecommendedTimelineAvailable) {
timelines.push("recommended");
}
if (isLocalTimelineAvailable) {
timelines.push("social");
}
if (isRecommendedTimelineAvailable) {
timelines.push("recommended");
}
if (isGlobalTimelineAvailable) {
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
? [
{
@ -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
? [
{