chore: update Angular cache and TypeScript build info

This commit is contained in:
Bruno Charest 2025-09-21 12:01:02 -04:00
parent 80935ebd74
commit 3b4f3d52e0
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -204,7 +204,8 @@ export class WatchShortComponent {
case 'rumble': case 'rumble':
return (v as any).isShort === true; return (v as any).isShort === true;
case 'odysee': case 'odysee':
return (v as any).isShort === true; // Odysee: use duration <= 60s as shorts indicator if native isShort unavailable
return (v as any).isShort === true || ((v.duration ?? 0) <= 60);
case 'peertube': case 'peertube':
return (v as any).isShort === true || (((v.duration ?? 0) <= 60) && ((v as any).isVertical === true)); return (v as any).isShort === true || (((v.duration ?? 0) <= 60) && ((v as any).isVertical === true));
default: default:
@ -215,8 +216,7 @@ export class WatchShortComponent {
private isProviderUnsupportedForShorts(p: string | undefined | null): boolean { private isProviderUnsupportedForShorts(p: string | undefined | null): boolean {
switch (p) { switch (p) {
case 'rumble': case 'rumble':
case 'odysee': return true; // Rumble requires native isShort indicator
return true; // Only if provider exposes isShort; otherwise unsupported
case 'twitch': case 'twitch':
case 'youtube': case 'youtube':
return false; return false;