Merge branch 'develop' into feature/new-user-routes

This commit is contained in:
Maxim Filippov 2018-12-17 02:39:37 +03:00
commit 2211c533dd
93 changed files with 5123 additions and 894 deletions

View file

@ -1,5 +1,5 @@
import { set } from 'vue'
import StyleSetter from '../services/style_setter/style_setter.js'
import { setPreset } from '../services/style_setter/style_setter.js'
const defaultState = {
// Stuff from static/config.json and apiConfig
@ -25,6 +25,8 @@ const defaultState = {
scopeCopy: true,
subjectLineBehavior: 'email',
loginMethod: 'password',
nsfwCensorImage: undefined,
vapidPublicKey: undefined,
// Nasty stuff
pleromaBackend: true,
@ -60,7 +62,7 @@ const instance = {
dispatch('setPageTitle')
break
case 'theme':
StyleSetter.setPreset(value, commit)
setPreset(value, commit)
}
}
}