[fix #3127] fix wrong branch order in conditional statement
Fix bug where user could not go back to account selection after tapping create new account Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
9f91557565
commit
dc646b2ad3
|
@ -292,8 +292,8 @@
|
|||
(navigate-to-chat cofx chat-id false))
|
||||
([cofx chat-id navigation-replace?]
|
||||
(let [nav-fn (if navigation-replace?
|
||||
#(navigation/navigate-to % :chat)
|
||||
#(navigation/replace-view % :chat))]
|
||||
#(navigation/replace-view % :chat)
|
||||
#(navigation/navigate-to % :chat))]
|
||||
(-> (preload-chat-data cofx chat-id)
|
||||
(update :db nav-fn)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue