Multiple profiles (#312)
* Navbar user profile * profiles stuff * fix profile * Lint fix * Some ui experiments * More ui work * progress * Lint fix * migration, web api, wip * profile view and web app * web app and apis * Invidious and profiles * Lint fix * bug fix * Remove ActionContentNode * Profile icon button, profile color * Lint fix * reset server url * href that doesn't work * remove activate button on active profile * TODO * Fin. * Final touches --------- Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
1 parent
8e03ca0ea6
commit
394dd23999
60 files changed
+1725
-311
No files matched your search
@@ -14,6 +14,18 @@ namespace ArrayUtils
|
||||
return -1
|
||||
end function
|
||||
|
||||
function IndexOfNode(array as object, value as dynamic) as integer
|
||||
if not IsNode(value)
|
||||
return -1
|
||||
end if
|
||||
for i = 0 to array.Count() - 1
|
||||
if value.isSameNode(array[i])
|
||||
return i
|
||||
end if
|
||||
end for
|
||||
return -1
|
||||
end function
|
||||
|
||||
function Insert(array as object, value as dynamic, index as integer) as void
|
||||
if index = 0
|
||||
array.Unshift(value)
|
||||
|
||||
Reference in new issue
Block a user