Open Sangu80 opened 4 years ago
struct landmarkList : View { @state var showFavoritesOnly = false var body : some View{ NavigationView{ List(landmarkData) { landmark in if !self,showFavoritesOnly || landmark.isFavorite { NavigaitonLink(destination: LandmarkDetail(landmark: landmark)) Landmarkrow(landmark: landmark) } } .navigationBarTitle(Text("Landmarks")) } }
Fixes #[Add issue number here. If you do not solve the issue entirely, please change the message e.g. "First steps for issues #IssueNumber]
Changes: [Add here what changes were made in this issue and if possible provide links.]
Screenshots for the change:
Fixes #[Add issue number here. If you do not solve the issue entirely, please change the message e.g. "First steps for issues #IssueNumber]
Changes: [Add here what changes were made in this issue and if possible provide links.]
Screenshots for the change: