diff --git a/Other Projects/WWDCPlayer/WWDCPlayer/MainView.swift b/Other Projects/WWDCPlayer/WWDCPlayer/MainView.swift index 98ab22c..0e88484 100755 --- a/Other Projects/WWDCPlayer/WWDCPlayer/MainView.swift +++ b/Other Projects/WWDCPlayer/WWDCPlayer/MainView.swift @@ -62,7 +62,7 @@ struct VideoListView : View { Section(header: Text(day.rawValue.uppercased()).fontWeight(.bold)) { ForEach(self.userData.videos.filter { $0.weekDay == day }) { video in if !self.userData.showFavoriteOnly || video.isFavorite { - VideoRow(video: video) + VideoRow(video: video, isFavorite: video.isFavorite) } } } diff --git a/Other Projects/WWDCPlayer/WWDCPlayer/VideoRow.swift b/Other Projects/WWDCPlayer/WWDCPlayer/VideoRow.swift index d5bb65d..bd8f9aa 100755 --- a/Other Projects/WWDCPlayer/WWDCPlayer/VideoRow.swift +++ b/Other Projects/WWDCPlayer/WWDCPlayer/VideoRow.swift @@ -13,6 +13,7 @@ struct VideoRow : View { @EnvironmentObject var userData: UserData var video: Video + var isFavorite = false var body: some View { HStack {