frzi / swiftui-router

Path-based routing in SwiftUI
MIT License
919 stars 44 forks source link

[router] allows custom root on init #8

Closed rodsfreitas closed 4 years ago

rodsfreitas commented 4 years ago

First time ever that I contribute to a public repo.

I just added the possibility to initialize the HistoryStack with the root from Router.

frzi commented 4 years ago

Good stuff! Thank you!