diff --git a/packages/client/src/pages/settings/general.vue b/packages/client/src/pages/settings/general.vue index a6ef6d45ba..0ecb649607 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 6b42cdce75..0fd44a08ae 100644 --- a/packages/client/src/pages/settings/other.vue +++ b/packages/client/src/pages/settings/other.vue @@ -1,17 +1,5 @@ - - {{ i18n.ts.showFeaturedNotesInTimeline }} - - - - {{ i18n.ts.accountInfo }} @@ -29,21 +17,10 @@