mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-02-04 21:17:07 +00:00
Add 'local' option to preferences
This commit is contained in:
@@ -31,6 +31,7 @@ DEFAULT_USER_PREFERENCES = Preferences.from_json({
|
||||
"video_loop" => false,
|
||||
"autoplay" => false,
|
||||
"continue" => false,
|
||||
"local" => false,
|
||||
"listen" => false,
|
||||
"speed" => 1.0,
|
||||
"quality" => "hd720",
|
||||
@@ -80,6 +81,10 @@ class Preferences
|
||||
type: Bool,
|
||||
default: DEFAULT_USER_PREFERENCES.continue,
|
||||
},
|
||||
local: {
|
||||
type: Bool,
|
||||
default: DEFAULT_USER_PREFERENCES.local,
|
||||
},
|
||||
listen: {
|
||||
type: Bool,
|
||||
default: DEFAULT_USER_PREFERENCES.listen,
|
||||
|
||||
Reference in New Issue
Block a user