mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-23 19:06:32 +02:00
@@ -505,6 +505,7 @@ export const GeneralSettingsSchema = z.object({
|
||||
lastFM: z.boolean(),
|
||||
lastfmApiKey: z.string(),
|
||||
listenBrainz: z.boolean(),
|
||||
microtonalPitchControls: z.boolean(),
|
||||
musicBrainz: z.boolean(),
|
||||
nativeAspectRatio: z.boolean(),
|
||||
nativeSpotify: z.boolean(),
|
||||
@@ -1201,6 +1202,7 @@ const initialState: SettingsState = {
|
||||
lastFM: true,
|
||||
lastfmApiKey: '',
|
||||
listenBrainz: true,
|
||||
microtonalPitchControls: false,
|
||||
musicBrainz: true,
|
||||
nativeAspectRatio: false,
|
||||
nativeSpotify: false,
|
||||
@@ -2830,3 +2832,6 @@ export const useButterchurnSettings = () => {
|
||||
};
|
||||
}, shallow);
|
||||
};
|
||||
|
||||
export const useMicrotonalPitchControls = () =>
|
||||
useSettingsStore((state) => state.general.microtonalPitchControls, shallow);
|
||||
|
||||
Reference in New Issue
Block a user