Fix navigation tabs

This commit is contained in:
Arkadiusz Fal
2021-06-11 23:54:00 +02:00
parent 417ed0a8ee
commit 4af395d788
6 changed files with 24 additions and 20 deletions

View File

@@ -16,7 +16,16 @@ final class Video: Identifiable, ObservableObject {
@Published var url: URL?
@Published var error: Bool = false
init(id: String, title: String, thumbnailURL: URL?, author: String, length: TimeInterval, published: String, channelID: String, views: Int = 0) {
init(
id: String,
title: String,
thumbnailURL: URL?,
author: String,
length: TimeInterval,
published: String,
channelID: String,
views: Int = 0
) {
self.id = id
self.title = title
self.thumbnailURL = thumbnailURL