Allow automatic instance redirect to be turned off

Instead the "switch invidious instance" link would bring users to
redirect.invidious.io
This commit is contained in:
syeopite
2021-05-15 20:08:33 -07:00
parent cf72b34866
commit b63bebb519
41 changed files with 97 additions and 6 deletions

View File

@@ -36,6 +36,7 @@ struct Preferences
property annotations : Bool = CONFIG.default_user_preferences.annotations
property annotations_subscribed : Bool = CONFIG.default_user_preferences.annotations_subscribed
property autoplay : Bool = CONFIG.default_user_preferences.autoplay
property automatic_instance_redirect : Bool = CONFIG.default_user_preferences.automatic_instance_redirect
@[JSON::Field(converter: Preferences::StringToArray)]
@[YAML::Field(converter: Preferences::StringToArray)]