hotwired / turbo-android

Android framework for making Turbo native apps
MIT License
423 stars 51 forks source link

Multiple modals fix #224

Closed svantepolk closed 2 years ago

svantepolk commented 2 years ago

Fixes #219

Originally I wanted to walk up the back stack, but it seems like there's a disconnect between the actual destinations (eg: instances of fragments) and the navigation framework's representation of them.

jayohms commented 2 years ago

@svantepolk Thanks for the inspiration here! I've taken a slightly different approach, that should be more robust than keeping manual count. Any chance you can try this out? https://github.com/hotwired/turbo-android/pull/226

svantepolk commented 2 years ago

Yep, that does it. Thanks for handling this.