mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
add filepath replacement setting (#1402)
This commit is contained in:
@@ -400,6 +400,8 @@ export const GeneralSettingsSchema = z.object({
|
||||
musicBrainz: z.boolean(),
|
||||
nativeAspectRatio: z.boolean(),
|
||||
passwordStore: z.string().optional(),
|
||||
pathReplace: z.string(),
|
||||
pathReplaceWith: z.string(),
|
||||
playButtonBehavior: z.nativeEnum(Play),
|
||||
playerbarOpenDrawer: z.boolean(),
|
||||
playerbarSlider: PlayerbarSliderSchema,
|
||||
@@ -953,6 +955,8 @@ const initialState: SettingsState = {
|
||||
musicBrainz: true,
|
||||
nativeAspectRatio: false,
|
||||
passwordStore: undefined,
|
||||
pathReplace: '',
|
||||
pathReplaceWith: '',
|
||||
playButtonBehavior: Play.NOW,
|
||||
playerbarOpenDrawer: false,
|
||||
playerbarSlider: {
|
||||
|
||||
Reference in New Issue
Block a user