fluoride: Fix syntax and formatting
[bloat] / model / settings.go
1 package model
2
3 type Settings struct {
4         DefaultVisibility        string `json:"default_visibility"`
5         CopyScope                bool   `json:"copy_scope"`
6         ThreadInNewTab           bool   `json:"thread_in_new_tab"`
7         HideAttachments          bool   `json:"hide_attachments"`
8         MaskNSFW                 bool   `json:"mask_nfsw"`
9         AutoRefreshNotifications bool   `json:"auto_refresh_notifications"`
10         FluorideMode             bool   `json:"fluoride_mode"`
11         DarkMode                 bool   `json:"dark_mode"`
12 }
13
14 func NewSettings() *Settings {
15         return &Settings{
16                 DefaultVisibility:        "public",
17                 CopyScope:                true,
18                 ThreadInNewTab:           false,
19                 HideAttachments:          false,
20                 MaskNSFW:                 true,
21                 AutoRefreshNotifications: false,
22                 FluorideMode:             false,
23                 DarkMode:                 false,
24         }
25 }