Commit 94803bc
committed
InitialNavigationDispatcher: Clarify and improve
Staring at the code before this change, it's not clear why we'd want
to go to the realm-input screen in the case where we know about
exactly one account. That's the place we go when we don't have any
idea what account the user might want to log in as.
I suppose one might say it's weird to land on the account-picker
screen when we only know about one account -- but we know that the
account isn't logged in, so we can't go ahead and show its data. It
also helps the user get where they're going faster by giving them
something to tap on, which will take them to the auth screen to log
in.
See discussion [1].
[1] zulip#4274 (comment)doInitialNavigation.1 parent 1973bfe commit 94803bc
File tree
1 file changed
+8
-7
lines changed1 file changed
+8
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments