Refresh lint rules (#238)
* Lint * Color rules * Update sponsorblock config file * Small tweak * Color adjustments
This commit is contained in:
1 parent
cbda8dbf9b
commit
e53ad785c6
89 files changed
+445
-468
No files matched your search
@@ -25,10 +25,10 @@ function Init()
|
||||
textEditBox.voiceEnabled = true
|
||||
|
||||
m.top.filters = {
|
||||
date: "",
|
||||
type: "",
|
||||
duration: "",
|
||||
features: [],
|
||||
date: ""
|
||||
type: ""
|
||||
duration: ""
|
||||
features: []
|
||||
sort_by: ""
|
||||
}
|
||||
|
||||
@@ -99,8 +99,8 @@ function OnTextChange() as void
|
||||
end if
|
||||
|
||||
m.searchSuggestionsTask = StartAsyncTask(SearchSuggestionsTask, {
|
||||
q: m.keyboard.text,
|
||||
invidious: m.invidious,
|
||||
q: m.keyboard.text
|
||||
invidious: m.invidious
|
||||
preferences: m.preferences
|
||||
}, OnSearchSuggestionsTaskResults)
|
||||
end function
|
||||
@@ -206,10 +206,10 @@ function Search(text as string)
|
||||
ShowLoadingScreen()
|
||||
|
||||
feedSource = {
|
||||
"id": `inv_search_${CryptoUtils.GetMd5(text)}`,
|
||||
"title": `Search - ${text}`,
|
||||
"apiType": "Invidious",
|
||||
"endpoint": "search",
|
||||
"id": `inv_search_${CryptoUtils.GetMd5(text)}`
|
||||
"title": `Search - ${text}`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "search"
|
||||
"queryParams": {
|
||||
"q": text
|
||||
}
|
||||
@@ -222,14 +222,14 @@ function Search(text as string)
|
||||
feedSource.queryParams[filter] = value
|
||||
else if IsArray(value) and value.Count() > 0
|
||||
feedSource.queryParams[filter] = {
|
||||
value: value,
|
||||
value: value
|
||||
arrayType: UrlUtils.QueryParamArrayType.CommaSeparated
|
||||
}
|
||||
end if
|
||||
end for
|
||||
|
||||
m.rowList.feeds = [{
|
||||
"title": `Search - ${text}`,
|
||||
"title": `Search - ${text}`
|
||||
"feedSources": [feedSource]
|
||||
}]
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user