Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Comments

🚧 New way for adding navigation bar elements#3

Merged
alexmodrono merged 2 commits intov0.1.0/b181221from
Features/gh-2
Dec 26, 2021
Merged

🚧 New way for adding navigation bar elements#3
alexmodrono merged 2 commits intov0.1.0/b181221from
Features/gh-2

Conversation

@alexmodrono
Copy link
Member

Changes Overview
This PR makes the following changes:

  • BREAKING CHANGE: .navigationBarElement() no longer works (the function is still there though it will probably be deleted before the final version).
  • Introduces a new way for adding navigation bar elements that replaces the old way.
  • Allows for more customization of elements thanks to NavigationBarProxy.

Does this PR fix, close, or implement any issues?

  • This PR closes, fixes, or implements the following issues.

Pending for review
@hyperspacedev/swiftui

…created.

BREAKING CHANGE: now navigation bar elements are passed as arguments to the style, so `.navigationBarElement()` is no longer used.
@alexmodrono alexmodrono added the enhancement New feature or request that provide direct customer value. label Dec 26, 2021
@alexmodrono alexmodrono requested a review from a team December 26, 2021 00:22
@alexmodrono alexmodrono self-assigned this Dec 26, 2021
@alexmodrono alexmodrono added this to the v0.1.0 milestone Dec 26, 2021
Copy link
Member

@alicerunsonfedora alicerunsonfedora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, but I'd consider swapping trailing and leading elements in the corresponding signatures.

@alicerunsonfedora alicerunsonfedora self-requested a review December 26, 2021 11:54
@alicerunsonfedora alicerunsonfedora dismissed their stale review December 26, 2021 11:54

Accidentally clicked wrong option

@alexmodrono
Copy link
Member Author

Alright, I'll merge this then.

@alexmodrono alexmodrono merged commit dcf0b07 into v0.1.0/b181221 Dec 26, 2021
@alexmodrono alexmodrono deleted the Features/gh-2 branch December 26, 2021 12:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request that provide direct customer value.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants