Remove todo, rename registry key
This commit is contained in:
1 parent
1b4d0b5f90
commit
4f22353d14
7 files changed
+6
-23
No files matched your search
@@ -10,7 +10,6 @@
|
||||
<field id="focus" type="boolean" alwaysNotify="true" />
|
||||
</interface>
|
||||
<children>
|
||||
<!-- TODO: Fix layout where viewCount label disappears if title is two lines -->
|
||||
<RowList
|
||||
itemComponentName="VideoRowCell"
|
||||
id="rowList"
|
||||
|
||||
@@ -38,7 +38,6 @@ end function
|
||||
|
||||
function OnNavBarEscape()
|
||||
index = m.navBar.escapeIndex
|
||||
'TODO: search at index 0
|
||||
if index = 0
|
||||
m.searchScreen.focus = true
|
||||
else if index = 1
|
||||
@@ -53,7 +52,6 @@ function OnNavIndexChange() as void
|
||||
if index = -1
|
||||
return
|
||||
end if
|
||||
'TODO: search at index 0
|
||||
if index = 0
|
||||
m.searchScreen.visible = true
|
||||
m.homeGridScreen.visible = false
|
||||
|
||||
@@ -49,7 +49,6 @@ namespace Http
|
||||
router.GenerateDirectoryListing(path, router, request, response)
|
||||
return true
|
||||
else if stat.type = "file"
|
||||
' TODO: implement
|
||||
response.mimetype = WebUtils.MimeType(decoded_uri)
|
||||
response.fileLength = stat.size
|
||||
router.log.info("uri=" + uri + ", target=" + path + ", content-type=" + response.mimetype + ", content-length=" + Stri(response.fileLength).trim())
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Http
|
||||
' Token is encoded twice for some reason
|
||||
token = WebUtils.UrlUnescape(components["token"]).DecodeUriComponent()
|
||||
print(`Got Token: ${token}`)
|
||||
RegistryUtils.Write("token", token)
|
||||
RegistryUtils.Write("invidious_token", token)
|
||||
server.task.top.login = true
|
||||
end if
|
||||
response.Redirect("/index.html?tab=settings")
|
||||
|
||||
Reference in new issue
Block a user