Merge branch 'fix/popover-performance' into feat/custom-virtual-scrolling

This commit is contained in:
Shpuld Shpuldson 2020-02-27 10:59:22 +02:00
commit a1e136f4e3
137 changed files with 3535 additions and 3452 deletions

View file

@ -5,6 +5,9 @@ const browserLocale = (window.navigator.language || 'en').split('-')[0]
export const defaultState = {
colors: {},
theme: undefined,
customTheme: undefined,
customThemeSource: undefined,
hideISP: false,
// bad name: actually hides posts of muted USERS
hideMutedPosts: undefined, // instance default
@ -97,10 +100,10 @@ const config = {
commit('setOption', { name, value })
switch (name) {
case 'theme':
setPreset(value, commit)
setPreset(value)
break
case 'customTheme':
applyTheme(value, commit)
applyTheme(value)
}
}
}