mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-28 12:12:03 +01:00
Updated for Xcode 11 Beta3
This commit is contained in:
@@ -19,7 +19,7 @@ struct LandmarkList: View {
|
||||
|
||||
ForEach(userData.landmarks) { landmark in
|
||||
if !self.userData.showFavoritesOnly || landmark.isFavorite {
|
||||
NavigationButton(
|
||||
NavigationLink(
|
||||
destination: LandmarkDetail(landmark: landmark)) {
|
||||
LandmarkRow(landmark: landmark)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user