More OAuth work (#551)
* More OAuth work * Lint fix * tweaks --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
12231fe2ec
commit
29a3206f17
11 files changed
+382
-25
No files matched your search
@@ -43,6 +43,16 @@ function OnContentSet() as void
|
||||
end if
|
||||
m.top.serverUrl = content.serverUrl
|
||||
m.top.crownVisible = content.isSelected
|
||||
|
||||
backendType = content.type
|
||||
if backendType = "invidious"
|
||||
m.top.backendTypePosterUri = "pkg:/images/invidious-logo.png"
|
||||
else if backendType = "youtube"
|
||||
m.top.backendTypePosterUri = "pkg:/images/youtube-logo.png"
|
||||
else
|
||||
m.top.backendTypePosterUri = ""
|
||||
end if
|
||||
|
||||
UpdateActivateButton()
|
||||
end function
|
||||
|
||||
|
||||
Reference in new issue
Block a user