feat: Wire up new preferences and remove old settings
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-04-30 18:03:14 +02:00
parent 412e49dfe2
commit 3ce71dd4df
No known key found for this signature in database
32 changed files with 213 additions and 340 deletions

View file

@ -1,13 +1,8 @@
<script setup lang="ts">
import { cn } from "@/lib/utils";
import Timelines from "~/components/navigation/timelines.vue";
import { SidebarInset } from "~/components/ui/sidebar";
import { SettingIds } from "~/settings";
import LeftSidebar from "./left-sidebar.vue";
import RightSidebar from "./right-sidebar.vue";
const showRightSidebar = useSetting(SettingIds.NotificationsSidebar);
const route = useRoute();
const isMd = useMediaQuery("(max-width: 768px)");
const showTimelines = computed(
@ -28,5 +23,5 @@ const showTimelines = computed(
</header>
<slot />
</main>
<RightSidebar v-if="identity" v-show="showRightSidebar.value" />
<RightSidebar v-if="identity" v-show="preferences.display_notifications_sidebar" />
</template>