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