1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Add the ability to use custom css

This commit is contained in:
Alex McGrath 2020-03-31 00:54:02 +01:00 committed by Frédéric Guillot
parent ae8e5c4dbc
commit 7accdc4416
19 changed files with 67 additions and 12 deletions

View file

@ -172,6 +172,11 @@ func (s *Storage) UpdateUser(user *model.User) error {
if err != nil {
return fmt.Errorf(`store: unable to update user: %v`, err)
}
err = s.UpdateExtraField(user.ID, "custom_css", user.Extra["custom_css"])
if err != nil {
return fmt.Errorf(`store: unable to update user css: %v`, err)
}
}
return nil