diff options
author | r <r@freesoftwareextremist.com> | 2020-02-18 22:15:37 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-02-18 22:15:37 +0000 |
commit | fe31d4197b66cced9ca84779fac4fe69242d844b (patch) | |
tree | 775e8e76eddb3e86d4515369b9615d3c3a5bc762 /model | |
parent | 39a3bb7f3566ca0b7020d10abd5d5815096b49cb (diff) | |
download | bloat-fe31d4197b66cced9ca84779fac4fe69242d844b.tar.gz bloat-fe31d4197b66cced9ca84779fac4fe69242d844b.zip |
Add frame based navigation
Diffstat (limited to 'model')
-rw-r--r-- | model/settings.go | 26 |
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, } } |