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:
parent
ae8e5c4dbc
commit
7accdc4416
19 changed files with 67 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue