aboutsummaryrefslogtreecommitdiff
path: root/renderer
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-04-25 09:35:18 +0000
committerr <r@freesoftwareextremist.com>2020-04-25 09:35:18 +0000
commitf380371654dd81b258e5f37e50ffcf3764f117c1 (patch)
treeedfa323e84ea3264a7a0cf7ba4a3ee58895cbcf0 /renderer
parent1e750f89b156c601fa5cfbda21e8c4b46be85b18 (diff)
downloadbloat-f380371654dd81b258e5f37e50ffcf3764f117c1.tar.gz
bloat-f380371654dd81b258e5f37e50ffcf3764f117c1.zip
Add option to hide attachments
Diffstat (limited to 'renderer')
-rw-r--r--renderer/model.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/renderer/model.go b/renderer/model.go
index 96907b3..85c73b8 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -6,12 +6,13 @@ import (
)
type Context struct {
- MaskNSFW bool
- FluorideMode bool
- ThreadInNewTab bool
- DarkMode bool
- CSRFToken string
- UserID string
+ HideAttachments bool
+ MaskNSFW bool
+ FluorideMode bool
+ ThreadInNewTab bool
+ DarkMode bool
+ CSRFToken string
+ UserID string
}
type NavData struct {