Skip to content
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

Flatten Navigation hiearchy #4233

Merged
merged 6 commits into from Apr 6, 2024
Merged

Flatten Navigation hiearchy #4233

merged 6 commits into from Apr 6, 2024

Conversation

SuperDragonXD
Copy link
Collaborator

Description

This PR flattens the Navigation hiearchy to simplify the implemenetation of the responsive Preference layout.

Type of change

✅: General change (non-breaking change that doesn't fit the below categories like copyediting)
❌ Bug fix (non-breaking change which fixes an issue)
❌ New feature (non-breaking change which adds functionality)
❌ Breaking change (fix or feature that would cause existing functionality to not work as expected)

To make implementation of TwoPaneNav, this commit flattens the navigation hierarchy.
Also add a dummy preference for TwoPane preparation
@SuperDragonXD SuperDragonXD merged commit 5b244bc into 14-dev Apr 6, 2024
5 checks passed
@SuperDragonXD SuperDragonXD deleted the feat/flatten-navgraph branch April 6, 2024 09:23
nulldrf pushed a commit to nulldrf/lawnchair that referenced this pull request Apr 10, 2024
* Simplify code of Preferences.kt

* Flatten navigation hierarchy

To make implementation of TwoPaneNav, this commit flattens the navigation hierarchy.

* Reorganize a bit

* Use nested NavGraphs for sub-destinations

Also add a dummy preference for TwoPane preparation

* Change highlight logic to use .contains()

* spotlessApply
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant