1
0
mirror of https://github.com/zedeus/nitter.git synced 2025-12-15 16:52:48 -05:00

Store preferences in cookies, add config defaults

This commit is contained in:
Zed
2020-05-08 02:48:47 +02:00
parent 517d9144f6
commit 312ff78628
9 changed files with 109 additions and 109 deletions

View File

@@ -3,6 +3,8 @@ import norm/sqlite
import prefs_impl
genPrefsType()
type
VideoType* = enum
vmap, m3u8, mp4
@@ -59,7 +61,6 @@ dbTypes:
formatIt: dbValue(getTime().toUnix())
.}: Time
genPrefsType()
type
QueryKind* = enum
@@ -187,7 +188,6 @@ type
hostname*: string
cacheDir*: string
profileCacheTime*: int
defaultTheme*: string
hmacKey*: string
proc contains*(thread: Chain; tweet: Tweet): bool =