From 500a5615f08f6926d12ef83466b4b642549cb756 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 1 Apr 2025 13:18:49 +0900 Subject: enhance(frontend): 壁紙をデッキ設定の一部に MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/ui/deck/column.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/frontend/src/ui/deck') diff --git a/packages/frontend/src/ui/deck/column.vue b/packages/frontend/src/ui/deck/column.vue index 06163c7dbd..497a04610e 100644 --- a/packages/frontend/src/ui/deck/column.vue +++ b/packages/frontend/src/ui/deck/column.vue @@ -48,13 +48,13 @@ import type { MenuItem } from '@/types/menu.js'; import { updateColumn, swapLeftColumn, swapRightColumn, swapUpColumn, swapDownColumn, stackLeftColumn, popRightColumn, removeColumn, swapColumn } from '@/deck.js'; import * as os from '@/os.js'; import { i18n } from '@/i18n.js'; -import { miLocalStorage } from '@/local-storage.js'; +import { prefer } from '@/preferences.js'; provide('shouldHeaderThin', true); provide('shouldOmitHeaderTitle', true); provide('forceSpacerMin', true); -const withWallpaper = miLocalStorage.getItem('wallpaper') != null; +const withWallpaper = prefer.s['deck.wallpaper'] != null; const props = withDefaults(defineProps<{ column: Column; -- cgit v1.2.3-freya