mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 12:33:03 +00:00
initialize settings page
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { SettingCategory } from "@/interfaces/settings";
|
||||
import setNowPlayingComponent from "./now-playing";
|
||||
|
||||
console.log(setNowPlayingComponent);
|
||||
|
||||
export default {
|
||||
title: "General",
|
||||
groups: [
|
||||
{
|
||||
title: "Repeat queue",
|
||||
desc: "Do you want to do that?",
|
||||
settings: [setNowPlayingComponent()],
|
||||
},
|
||||
],
|
||||
} as SettingCategory;
|
||||
@@ -0,0 +1,7 @@
|
||||
import { SettingType } from "@/interfaces/settings";
|
||||
|
||||
export default () => ({
|
||||
title: "Use Sidebar now playing card",
|
||||
type: SettingType.switch,
|
||||
action: () => console.log("should toggle something"),
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
import general from "./general";
|
||||
|
||||
export default [general];
|
||||
Reference in New Issue
Block a user