Add more preferences

This commit is contained in:
Zed
2019-08-13 21:25:29 +02:00
parent 7eb66d65aa
commit 45d88da3d9
5 changed files with 29 additions and 18 deletions

View File

@@ -32,6 +32,19 @@ const prefList*: Table[string, seq[Pref]] = {
Pref(kind: checkbox, name: "autoplayGifs", label: "Autoplay gifs",
defaultState: true),
],
"Display": @[
Pref(kind: checkbox, name: "hideTweetStats",
label: "Hide tweet stats (replies, retweets, likes",
defaultState: false),
Pref(kind: checkbox, name: "hideBanner", label: "Hide profile banner",
defaultState: false),
Pref(kind: checkbox, name: "stickyProfile",
label: "Make profile sidebar stick to top",
defaultState: true)
]
}.toTable