aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/settings.go26
1 files changed, 14 insertions, 12 deletions
diff --git a/model/settings.go b/model/settings.go
index 7d22747..b1463c7 100644
--- a/model/settings.go
+++ b/model/settings.go
@@ -1,21 +1,23 @@
package model
type Settings struct {
- DefaultVisibility string `json:"default_visibility"`
- CopyScope bool `json:"copy_scope"`
- ThreadInNewTab bool `json:"thread_in_new_tab"`
- MaskNSFW bool `json:"mask_nfsw"`
- FluorideMode bool `json:"fluoride_mode"`
- DarkMode bool `json:"dark_mode"`
+ DefaultVisibility string `json:"default_visibility"`
+ CopyScope bool `json:"copy_scope"`
+ ThreadInNewTab bool `json:"thread_in_new_tab"`
+ MaskNSFW bool `json:"mask_nfsw"`
+ AutoRefreshNotifications bool `json:"auto_refresh_notifications"`
+ FluorideMode bool `json:"fluoride_mode"`
+ DarkMode bool `json:"dark_mode"`
}
func NewSettings() *Settings {
return &Settings{
- DefaultVisibility: "public",
- CopyScope: true,
- ThreadInNewTab: false,
- MaskNSFW: true,
- FluorideMode: false,
- DarkMode: false,
+ DefaultVisibility: "public",
+ CopyScope: true,
+ ThreadInNewTab: false,
+ MaskNSFW: true,
+ AutoRefreshNotifications: false,
+ FluorideMode: false,
+ DarkMode: false,
}
}