HomePhabricator
Diffusion Comm 7e50ae41e8e6

[native] Fix getStateFromNavigatorRoute calls

Description

[native] Fix getStateFromNavigatorRoute calls

Summary:
Linear issue: https://linear.app/comm/issue/ENG-2316/threadscreenpruner-problem
This code was trying to obtain route for Chat but was obtaining route for Profile. This way we can be sure that we are actually finding what we are looking for.

Test Plan: Run ios simulator, see that both on login screen and when user is logged in no errors arise. I also logged the value that is being returend to be sure this component is being rendered at all.

Reviewers: atul, tomek, kamil, bartek, ginsu, przemek, ashoat

Reviewed By: ashoat

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D5705

Details

Provenance
InkaSokolowskaAuthored on Nov 23 2022, 9:13 AM
Reviewer
ashoat
Differential Revision
D5705: [native] Fix getStateFromNavigatorRoute calls
Parents
rCOMM40c766e4e726: [desktop] Notification badge
Branches
Unknown
Tags
Unknown