-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use enum navigation path #609
Conversation
…eed a reference to a navigation path can use whatever.
Note: - Exception is in sidebar.
…ation-path * boscojwho/enum-navigation-routes: - Fix unused closure param. - Use navigation router in Settings. - Use navigation router in Inbox/Profile/Search tabs. - Move NavigationContext to separate file. - Vary what value is passed to NavigationLink based on context. Use enum route to construct navigation path, where possible. Note: - Exception is in sidebar. - *WIP* Use NavigationRoute enum to configure navigation path. - Add `AnyNavigationPath` so view modifiers (or anything else) that need a reference to a navigation path can use whatever. - Add environment value for navigation routes. - Add navigation routes for non-settings paths. # Conflicts: # Mlem/Views/Shared/Links/Community Link View.swift # Mlem/Views/Shared/Links/User/UserLinkView.swift
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
I've not had a chance to build and run it on device, so I'll assume it all works and you checked it 🙃
I have a branch that restructures onboarding which has a |
See PR #585