mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Cells view
This commit is contained in:
@@ -6,6 +6,8 @@ final class AppState: ObservableObject {
|
||||
@Published var channelID: String = ""
|
||||
@Published var channel: String = ""
|
||||
|
||||
@Published var profile = Profile()
|
||||
|
||||
func openChannel(from video: Video) {
|
||||
channel = video.author
|
||||
channelID = video.channelID
|
||||
|
@@ -7,6 +7,14 @@ final class Profile: ObservableObject {
|
||||
|
||||
// let sid = "B3_WzklziGu8JKefihLrCsTNavdj73KMiPUBfN5HW2M="
|
||||
let sid = "RpoS7YPPK2-QS81jJF9z4KSQAjmzsOnMpn84c73-GQ8="
|
||||
|
||||
let listing = VideoListing.cells
|
||||
|
||||
let cellsColumns = 3
|
||||
}
|
||||
|
||||
enum VideoListing: String {
|
||||
case list, cells
|
||||
}
|
||||
|
||||
enum DefaultStreamResolution: String {
|
||||
|
Reference in New Issue
Block a user