Files
swingmusic-extended/src/settings/general/now-playing.ts
T
geoffrey45 5130f85300 feat: check screen size to enable or disable settings
+ redesign (again!) the playlist cards
2022-09-17 14:24:05 +03:00

15 lines
419 B
TypeScript

import { Setting, SettingType } from "@/interfaces/settings";
import useSettingsStore from "@/stores/settings";
const settings = useSettingsStore;
const use_alt_np: Setting = {
title: "Use alternate now playing card",
type: SettingType.binary,
source: () => settings().use_alt_np,
inactive: () => settings().disable_show_alt_np,
action: () => settings().toggleUseRightNP(),
};
export default [use_alt_np];