Updated for Xcode 11 Beta3

This commit is contained in:
John Holdsworth
2019-07-08 11:08:29 +01:00
parent 03ac6281a1
commit 17a2f3b196
35 changed files with 207 additions and 88 deletions

View File

@@ -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)
}