chore: update Angular cache and TypeScript build info
This commit is contained in:
parent
80935ebd74
commit
3b4f3d52e0
2
.angular/cache/20.2.2/app/.tsbuildinfo
vendored
2
.angular/cache/20.2.2/app/.tsbuildinfo
vendored
File diff suppressed because one or more lines are too long
BIN
db/newtube.db
BIN
db/newtube.db
Binary file not shown.
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user