Files
swingmusic-extended/src/stores/settings/index.ts
T
geoffrey45 824dcaecdf rename setting to "use alt now playing ..."
+ fix right now playing component gap
+ show emoji if there's no search result
+ abstract now playing component settings into one setting
+ break context menu's context item into a component
2022-08-21 04:28:18 +03:00

17 lines
315 B
TypeScript

import { defineStore } from "pinia";
import useQueueStore from "../queue";
export default defineStore("settings", {
state: () => ({
use_alt_np: false,
}),
actions: {
toggleUseRightNP() {
this.use_alt_np = !this.use_alt_np;
useQueueStore();
},
},
getters: {},
persist: true,
});