refactor(player): the related-region pref key stays private to its list
This commit is contained in:
@@ -26,7 +26,7 @@ import { VideoMenu } from "../video/VideoMenu";
|
||||
|
||||
/** Which list YouTube fills in — on the video's topic or with what trends in Hungary — is a mood,
|
||||
* decided at the list, and the account keeps the last one (the owner's pick). */
|
||||
export const RELATED_REGION_PREF = "relatedRegion";
|
||||
const RELATED_REGION_PREF = "relatedRegion";
|
||||
const RELATED_REGION_OPTIONS: UsePrefOptions<RelatedRegion> = {
|
||||
parse: (raw) => (raw === "hu" ? "hu" : "topical"),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user