mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 13:33:42 +00:00
make 0-length videos not shorts.
This commit is contained in:
parent
41de28a698
commit
9efbac3d15
@ -498,7 +498,7 @@ final class InvidiousAPI: Service, ObservableObject, VideosAPI {
|
||||
indexID: indexID,
|
||||
live: json["liveNow"].boolValue,
|
||||
upcoming: json["isUpcoming"].boolValue,
|
||||
short: length <= Video.shortLength,
|
||||
short: length <= Video.shortLength && length != 0.0,
|
||||
publishedAt: publishedAt,
|
||||
likes: json["likeCount"].int,
|
||||
dislikes: json["dislikeCount"].int,
|
||||
|
Loading…
Reference in New Issue
Block a user