mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-23 18:16:14 +02:00
web/settings: add disableHaptics
This commit is contained in:
parent
e61ac61e20
commit
8af4c69be3
@ -13,6 +13,7 @@ const defaultSettings: CobaltSettings = {
|
|||||||
autoLanguage: true,
|
autoLanguage: true,
|
||||||
reduceMotion: false,
|
reduceMotion: false,
|
||||||
reduceTransparency: false,
|
reduceTransparency: false,
|
||||||
|
disableHaptics: false,
|
||||||
},
|
},
|
||||||
save: {
|
save: {
|
||||||
alwaysProxy: false,
|
alwaysProxy: false,
|
||||||
|
@ -1,7 +1,10 @@
|
|||||||
import { type CobaltSettingsV4 } from "$lib/types/settings/v4";
|
import { type CobaltSettingsV4 } from "$lib/types/settings/v4";
|
||||||
|
|
||||||
export type CobaltSettingsV5 = Omit<CobaltSettingsV4, 'schemaVersion' | 'advanced' | 'save' | 'privacy'> & {
|
export type CobaltSettingsV5 = Omit<CobaltSettingsV4, 'schemaVersion' | 'advanced' | 'save' | 'privacy' | 'appearance'> & {
|
||||||
schemaVersion: 5,
|
schemaVersion: 5,
|
||||||
|
appearance: CobaltSettingsV4['appearance'] & {
|
||||||
|
disableHaptics: boolean;
|
||||||
|
},
|
||||||
advanced: CobaltSettingsV4['advanced'] & {
|
advanced: CobaltSettingsV4['advanced'] & {
|
||||||
useWebCodecs: boolean;
|
useWebCodecs: boolean;
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user