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:
parent
618042c3e3
commit
9d9047c33d
1 changed files with 13 additions and 13 deletions
|
@ -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
|
||||||
? [
|
? [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue