diff --git a/packages/client/src/pages/settings/general.vue b/packages/client/src/pages/settings/general.vue index a6ef6d45b..0ecb64960 100644 --- a/packages/client/src/pages/settings/general.vue +++ b/packages/client/src/pages/settings/general.vue @@ -80,6 +80,19 @@ {{ i18n.ts.reflectMayTakeTime }} + + {{ i18n.ts.showFeaturedNotesInTimeline }} + + {{ i18n.ts.detectPostLanguage }} @@ -391,6 +404,14 @@ const openServerInfo = computed( defaultStore.makeGetterSetter("openServerInfo"), ); +function onChangeInjectFeaturedNote(v) { + os.api("i/update", { + injectFeaturedNote: v, + }).then((i) => { + $i!.injectFeaturedNote = i.injectFeaturedNote; + }); +} + watch(swipeOnDesktop, () => { defaultStore.set("swipeOnMobile", true); }); diff --git a/packages/client/src/pages/settings/other.vue b/packages/client/src/pages/settings/other.vue index 6b42cdce7..0fd44a08a 100644 --- a/packages/client/src/pages/settings/other.vue +++ b/packages/client/src/pages/settings/other.vue @@ -1,17 +1,5 @@