Skip to content

Commit

Permalink
Add comment :)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbrndnr committed Jul 29, 2023
1 parent dab48a4 commit ca6cc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nuage/Views/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ struct MainView: View {
}
}
.navigationTitle(item.title)
.id(item.id)
.id(item.id) // Set id so that SwiftUI knows when to render new view
}

@ViewBuilder private func navigationDestination<T: SoundCloudIdentifiable>(for element: T) -> some View {
Expand Down

0 comments on commit ca6cc6c

Please sign in to comment.