Post

Replies

Boosts

Views

Activity

Reply to NavigationLink pushing extra View after List reorder
Yeah, I figured something like that might be causing the issue. Here is my code for the list view: struct IngredientListView: View {     @FetchRequest(entity: Ingredient.entity(), sortDescriptors: [NSSortDescriptor(key: "name", ascending: true)]) var ingredients: FetchedResults<Ingredient>     var body: some View {         List {             ForEach(ingredients) { ingredient in                 NavigationLink(destination: IngredientView(ingredient: ingredient)) {                     Text(ingredient.name)                 }             }         }     } } The NavigationLink just goes to a detail view with a navigationBarItem to bring up a sheet where the user can edit the name of the ingredient. Thanks for the suggestions!
Jul ’20