From 1b278f5630f80195cd9302b40f98b5daea4d583e Mon Sep 17 00:00:00 2001 From: codingneko Date: Thu, 10 Oct 2024 16:15:59 +0000 Subject: [PATCH] Remove show bots from client settings --- packages/frontend/src/pages/settings/general.vue | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/frontend/src/pages/settings/general.vue b/packages/frontend/src/pages/settings/general.vue index 8cd1caf6bd..656c714dc7 100644 --- a/packages/frontend/src/pages/settings/general.vue +++ b/packages/frontend/src/pages/settings/general.vue @@ -231,7 +231,6 @@ SPDX-License-Identifier: AGPL-3.0-only {{ i18n.ts.enableInfiniteScroll }} {{ i18n.ts.keepScreenOn }} {{ i18n.ts.clickToOpen }} - {{ i18n.ts.showBots }} {{ i18n.ts.disableStreamingTimeline }} {{ i18n.ts.enableHorizontalSwipe }} {{ i18n.ts.alwaysConfirmFollow }} @@ -377,14 +376,6 @@ const limitWidthOfReaction = computed(defaultStore.makeGetterSetter('limitWidthO const collapseRenotes = computed(defaultStore.makeGetterSetter('collapseRenotes')); const collapseNotesRepliedTo = computed(defaultStore.makeGetterSetter('collapseNotesRepliedTo')); const clickToOpen = computed(defaultStore.makeGetterSetter('clickToOpen')); -// copied from src/pages/timeline.vue -const showBots = computed({ - get: () => defaultStore.reactiveState.tl.value.filter.withBots, - set: (newValue) => { - const out = deepMerge({ filter: { withBots: newValue } }, defaultStore.state.tl); - defaultStore.set('tl', out); - }, -}); const collapseFiles = computed(defaultStore.makeGetterSetter('collapseFiles')); const autoloadConversation = computed(defaultStore.makeGetterSetter('autoloadConversation')); const reduceAnimation = computed(defaultStore.makeGetterSetter('animation', v => !v, v => !v));