mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-05-04 14:34:30 +02:00
Xcode 11 beta 6
This commit is contained in:
@@ -32,13 +32,13 @@ struct VideoRow : View {
|
||||
|
||||
Image(systemName: video.isFavorite ? "star.fill" : "star")
|
||||
.foregroundColor(video.isFavorite ? Color.yellow : Color.gray)
|
||||
.tapAction {
|
||||
.onTapGesture {
|
||||
self.setFavorite(video: self.video)
|
||||
}
|
||||
}
|
||||
}
|
||||
.padding([.top, .bottom], 10)
|
||||
.tapAction {
|
||||
.onTapGesture {
|
||||
self.setCurrentVideo(video: self.video)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user