Add a Timeline section to the preferences page

The timeline section currently has one preference, following, which is a
comma-separated field of people to display on the home timeline.
This commit is contained in:
FIGBERT 2021-03-10 12:53:28 -08:00
parent 6884f05041
commit b79ef43809
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -50,6 +50,11 @@ macro genPrefs*(prefDsl: untyped) =
const `name`*: PrefList = toOrderedTable(`table`)
genPrefs:
Timeline:
following(input, ""):
"A comma-separated list of users to follow."
placeholder: "one,two,three"
Display:
theme(select, "Nitter"):
"Theme"