mirror of
https://github.com/yattee/yattee.git
synced 2025-11-30 21:28:14 +00:00
Fix tab selection
This commit is contained in:
@@ -12,11 +12,11 @@ struct VideosView: View {
|
||||
@State private var showingViewOptions = false
|
||||
|
||||
var body: some View {
|
||||
Section {
|
||||
if layout == .list {
|
||||
VideosListView(videos: videos)
|
||||
} else {
|
||||
VStack {
|
||||
if layout == .cells {
|
||||
VideosCellsView(videos: videos, columns: self.profile.cellsColumns)
|
||||
} else {
|
||||
VideosListView(videos: videos)
|
||||
}
|
||||
}
|
||||
.fullScreenCover(isPresented: $showingViewOptions) { ViewOptionsView() }
|
||||
|
||||
Reference in New Issue
Block a user