Store/Settings: Sort `state` entries alphabetically
This commit is contained in:
parent
bc4a329f58
commit
672c734024
|
@ -159,55 +159,56 @@ const defaultSideEffectsTriggerId = settingId =>
|
|||
|
||||
const state = {
|
||||
// currentTheme: 'lightRed',
|
||||
backendFallback: true,
|
||||
checkForUpdates: true,
|
||||
checkForBlogPosts: true,
|
||||
backendPreference: 'local',
|
||||
landingPage: 'subscriptions',
|
||||
region: 'US',
|
||||
listType: 'grid',
|
||||
thumbnailPreference: '',
|
||||
invidiousInstance: 'https://invidious.snopyta.org',
|
||||
defaultProfile: 'allChannels',
|
||||
barColor: false,
|
||||
enableSearchSuggestions: true,
|
||||
rememberHistory: true,
|
||||
saveWatchedProgress: true,
|
||||
removeVideoMetaFiles: true,
|
||||
autoplayVideos: true,
|
||||
autoplayPlaylists: true,
|
||||
playNextVideo: false,
|
||||
enableSubtitles: true,
|
||||
forceLocalBackendForLegacy: false,
|
||||
proxyVideos: false,
|
||||
defaultTheatreMode: false,
|
||||
autoplayVideos: true,
|
||||
backendFallback: true,
|
||||
backendPreference: 'local',
|
||||
barColor: false,
|
||||
checkForBlogPosts: true,
|
||||
checkForUpdates: true,
|
||||
// currentTheme: 'lightRed',
|
||||
defaultCaptionSettings: '{}',
|
||||
defaultInterval: 5,
|
||||
defaultPlayback: 1,
|
||||
defaultVideoFormat: 'dash',
|
||||
defaultProfile: 'allChannels',
|
||||
defaultQuality: '720',
|
||||
defaultCaptionSettings: '{}',
|
||||
useProxy: false,
|
||||
proxyProtocol: 'socks5',
|
||||
proxyHostname: '127.0.0.1',
|
||||
proxyPort: '9050',
|
||||
defaultTheatreMode: false,
|
||||
defaultVideoFormat: 'dash',
|
||||
disableSmoothScrolling: false,
|
||||
hideWatchedSubs: false,
|
||||
useRssFeeds: false,
|
||||
hideVideoViews: false,
|
||||
hideVideoLikesAndDislikes: false,
|
||||
displayVideoPlayButton: true,
|
||||
enableSearchSuggestions: true,
|
||||
enableSubtitles: true,
|
||||
forceLocalBackendForLegacy: false,
|
||||
hideActiveSubscriptions: false,
|
||||
hideChannelSubscriptions: false,
|
||||
hideCommentLikes: false,
|
||||
hideLiveChat: false,
|
||||
hidePlaylists: false,
|
||||
hidePopularVideos: false,
|
||||
hideRecommendedVideos: false,
|
||||
hideTrendingVideos: false,
|
||||
hidePopularVideos: false,
|
||||
hidePlaylists: false,
|
||||
hideLiveChat: false,
|
||||
hideActiveSubscriptions: false,
|
||||
videoVolumeMouseScroll: false,
|
||||
useSponsorBlock: false,
|
||||
sponsorBlockUrl: 'https://sponsor.ajay.app',
|
||||
hideVideoLikesAndDislikes: false,
|
||||
hideVideoViews: false,
|
||||
hideWatchedSubs: false,
|
||||
invidiousInstance: 'https://invidious.snopyta.org',
|
||||
landingPage: 'subscriptions',
|
||||
listType: 'grid',
|
||||
playNextVideo: false,
|
||||
proxyHostname: '127.0.0.1',
|
||||
proxyPort: '9050',
|
||||
proxyProtocol: 'socks5',
|
||||
proxyVideos: false,
|
||||
region: 'US',
|
||||
rememberHistory: true,
|
||||
removeVideoMetaFiles: true,
|
||||
saveWatchedProgress: true,
|
||||
sponsorBlockShowSkippedToast: true,
|
||||
displayVideoPlayButton: true
|
||||
sponsorBlockUrl: 'https://sponsor.ajay.app',
|
||||
thumbnailPreference: '',
|
||||
useProxy: false,
|
||||
useRssFeeds: false,
|
||||
useSponsorBlock: false,
|
||||
videoVolumeMouseScroll: false
|
||||
}
|
||||
|
||||
const stateWithSideEffects = {
|
||||
|
|
Loading…
Reference in New Issue