fix(mobile): blank Recents only on the profile tab - #5532
Merged
Conversation
The privacy cover blanked the app switcher snapshot on login, agent-chat, pr-review, kilo-pass, device-sessions and share-gate. Those surfaces hold nothing worth a blank Recents card, and the cover fired often enough that the app looked permanently blank in the switcher. Cover the profile tab only. It is the one surface that shows the credit balance and account identity. The home and KiloClaw exclusions become dead branches under the new rule, so they go with it, along with the `screenLayout` wiring on the two navigators that no longer have a covered route.
Contributor
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (6 files)
Reviewed by grok-4.6 · Input: 164.4K · Output: 7.8K · Cached: 158K Review guidance: REVIEW.md from base branch |
eshurakov
approved these changes
Aug 27, 2026
iscekic
enabled auto-merge (squash)
August 27, 2026 12:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The privacy cover blanked the OS app-switcher snapshot on
login,agent-chat,pr-review,kilo-pass,device-sessions,share-gateand the whole profile tab. That is most of the app, so Recents looked permanently blank.Cover the profile tab only. It is the one surface that shows the credit balance and account identity.
Changes
isPrivacyCoverRoute()is now a single token match on(3_profile).screenLayout={privacyScreenLayout}is removed from the two navigators that no longer have a covered route:(app)andpr-review/[owner]/[repo]/[number]. The profile-tab navigators keep it.FLAG_SECUREnow follows the same narrowed rule; iOS never called it.Verification
pnpm format && pnpm typecheck && pnpm lint && pnpm check:unused && pnpm testpass inapps/mobile.