feat(users): add theme to preferences
This commit is contained in:
parent
916520bed1
commit
01e07273a6
3 changed files with 2 additions and 0 deletions
|
@ -43,6 +43,7 @@ type Preferences struct {
|
|||
CSSURL string `json:"cssURL"`
|
||||
LanPackURL string `json:"lanPackURL"`
|
||||
Lan string `json:"lan"`
|
||||
Theme string `json:"theme"`
|
||||
}
|
||||
|
||||
type User struct {
|
||||
|
|
|
@ -44,6 +44,7 @@ var (
|
|||
CSSURL: "",
|
||||
LanPackURL: "",
|
||||
Lan: "en_US",
|
||||
Theme: "light",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
BIN
src/server/testdata/test_quickshare.db
vendored
BIN
src/server/testdata/test_quickshare.db
vendored
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue