Commit 016ba6a
committed
InitialNavigationDispatcher: Clarify and improve
When the active account isn't logged in and there's just one account
in total, we can reasonably pre-fill that account's realm in the
realm-input screen. It seems like this has been the expected
behavior [1], but I just tested it now, and it hasn't been
happening.
Also, for readability, separate the `accounts.length === 1` check
into its own `else if`.
[1] https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/decouple.20nav.20from.20redux.20%28.23M3804%29/near/1042602doInitialNavigation.1 parent 88eb0ed commit 016ba6a
File tree
1 file changed
+15
-1
lines changed1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
51 | 63 | | |
| 64 | + | |
| 65 | + | |
52 | 66 | | |
53 | 67 | | |
54 | 68 | | |
| |||
0 commit comments