aboutsummaryrefslogtreecommitdiff
path: root/model
diff options
context:
space:
mode:
Diffstat (limited to 'model')
-rw-r--r--model/postContext.go1
-rw-r--r--model/settings.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/model/postContext.go b/model/postContext.go
index 3098437..58997f7 100644
--- a/model/postContext.go
+++ b/model/postContext.go
@@ -9,6 +9,7 @@ type PostContext struct {
DefaultVisibility string
ReplyContext *ReplyContext
Formats []PostFormat
+ DarkMode bool
}
type ReplyContext struct {
diff --git a/model/settings.go b/model/settings.go
index b8eeffc..7d22747 100644
--- a/model/settings.go
+++ b/model/settings.go
@@ -6,6 +6,7 @@ type Settings struct {
ThreadInNewTab bool `json:"thread_in_new_tab"`
MaskNSFW bool `json:"mask_nfsw"`
FluorideMode bool `json:"fluoride_mode"`
+ DarkMode bool `json:"dark_mode"`
}
func NewSettings() *Settings {
@@ -15,5 +16,6 @@ func NewSettings() *Settings {
ThreadInNewTab: false,
MaskNSFW: true,
FluorideMode: false,
+ DarkMode: false,
}
}