Commit Graph

2 Commits

Author SHA1 Message Date
Daniel Haight 24c21d4965 Update `Binding` Helpers
- Rename `Binding.map` to `Binding.compactMap`
- Add `Binding.map` with an updated signature

These should now match the naming conventions of similar
methods on types.
2021-11-21 14:36:38 +00:00
Daniel Haight 9724d22235 Add `NavigationLinks` and `Bindings`
This gives us a more readable approach to set up navigation links
that mirrors other `SwiftUI` navigation paradigms such as `.sheet`.

We use the modifier to simplify navigation link setup for `TransactionHistoryView`

We also include some `Binding` extensions to help creating them.
2021-11-15 23:36:14 +00:00