1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-25 11:09:32 +01:00

Rename themes

This commit is contained in:
Zed 2019-10-27 13:02:22 +01:00
parent 295a93e5ec
commit c9da638366
6 changed files with 3 additions and 3 deletions

View File

@ -11,5 +11,5 @@ directory = "./tmp"
profileMinutes = 10 # how long to cache profiles
[Config]
defaultTheme = "Dark"
defaultTheme = "Nitter"
hmacKey = "secretkey" # for signing video urls

View File

@ -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")
)

View File

@ -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)",