mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-13 03:26:30 +00:00
Rename themes
This commit is contained in:
parent
295a93e5ec
commit
c9da638366
6 changed files with 3 additions and 3 deletions
|
@ -11,5 +11,5 @@ directory = "./tmp"
|
|||
profileMinutes = 10 # how long to cache profiles
|
||||
|
||||
[Config]
|
||||
defaultTheme = "Dark"
|
||||
defaultTheme = "Nitter"
|
||||
hmacKey = "secretkey" # for signing video urls
|
||||
|
|
|
@ -23,6 +23,6 @@ proc getConfig*(path: string): Config =
|
|||
cacheDir: cfg.get("Cache", "directory", "/tmp/nitter"),
|
||||
profileCacheTime: cfg.get("Cache", "profileMinutes", 10),
|
||||
|
||||
defaultTheme: cfg.get("Config", "defaultTheme", "Dark"),
|
||||
defaultTheme: cfg.get("Config", "defaultTheme", "Nitter"),
|
||||
hmacKey: cfg.get("Config", "hmacKey", "secretkey")
|
||||
)
|
||||
|
|
|
@ -52,7 +52,7 @@ const prefList*: OrderedTable[string, seq[Pref]] = {
|
|||
|
||||
"Display": @[
|
||||
Pref(kind: select, name: "theme", label: "Theme",
|
||||
defaultOption: "Dark"),
|
||||
defaultOption: "Nitter"),
|
||||
|
||||
Pref(kind: checkbox, name: "hideTweetStats",
|
||||
label: "Hide tweet stats (replies, retweets, likes)",
|
||||
|
|
Loading…
Reference in a new issue