aboutsummaryrefslogtreecommitdiff
path: root/renderer/model.go
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-27 08:06:43 +0000
committerr <r@freesoftwareextremist.com>2019-12-27 08:09:40 +0000
commitb9d7eb05beb57926181f91685a75b3069d1f8cf8 (patch)
tree1aa0b5a28fd8cc0c3fc425c227eb747d8528c910 /renderer/model.go
parent14bb18fbc7e6cdea57f27a44093d645d97bacb64 (diff)
downloadbloat-b9d7eb05beb57926181f91685a75b3069d1f8cf8.tar.gz
bloat-b9d7eb05beb57926181f91685a75b3069d1f8cf8.zip
Add settings page
Diffstat (limited to 'renderer/model.go')
-rw-r--r--renderer/model.go15
1 files changed, 10 insertions, 5 deletions
diff --git a/renderer/model.go b/renderer/model.go
index ffeb2d1..12fa90f 100644
--- a/renderer/model.go
+++ b/renderer/model.go
@@ -92,10 +92,15 @@ type RetweetedByData struct {
type SearchData struct {
*CommonData
- Q string
- Type string
- Users []*mastodon.Account
- Statuses []*mastodon.Status
- HasNext bool
+ Q string
+ Type string
+ Users []*mastodon.Account
+ Statuses []*mastodon.Status
+ HasNext bool
NextLink string
}
+
+type SettingsData struct {
+ *CommonData
+ Settings *model.Settings
+}