fix(navigation): keep Downloads visible from launch - #249
Conversation
|
Warning Review limit reachedNext included review available in 24 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai full review |
|
What I changed
I noticed the Downloads tab was missing when the Android app first opened, then suddenly appeared after download records or local storage finished loading. That made the whole bottom bar reflow after launch.
I changed Downloads into a fixed mobile navigation destination from the first rendered frame. The Downloads screen still owns its empty and unavailable states, while capability and record hydration no longer decide whether the navigation item exists.
This also removes the startup record/local-byte scan that was only being used to decide tab visibility. Offline launch routing is unchanged.
Testing
I designed and tested this behavior to make sure the bottom bar stays stable from launch.
AI disclosure
I designed the navigation behavior and tested the result. I used AI assistance to help implement the change, simplify the old visibility path, and add regression coverage.