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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user