Merge pull request #2477 from SamantazFox/move-prefs-and-config

Move user preferences and server config
This commit is contained in:
syeopite
2021-10-18 17:06:07 +00:00
committed by GitHub
8 changed files with 460 additions and 463 deletions

View File

@@ -301,19 +301,6 @@ def parse_range(range)
return 0_i64, nil
end
def convert_theme(theme)
case theme
when "true"
"dark"
when "false"
"light"
when "", nil
nil
else
theme
end
end
def fetch_random_instance
begin
instance_api_client = make_client(URI.parse("https://api.invidious.io"))