[fix #] pass network-status to account app-db
when login offline the offline gray box was not shown in chat-list and the fix in #2314 would not work in that case
This commit is contained in:
parent
156089b07b
commit
c0ba70c28a
|
@ -245,7 +245,7 @@
|
||||||
(register-handler-db
|
(register-handler-db
|
||||||
:initialize-account-db
|
:initialize-account-db
|
||||||
(fn [{:keys [accounts/accounts contacts/contacts networks/networks
|
(fn [{:keys [accounts/accounts contacts/contacts networks/networks
|
||||||
network view-id navigation-stack chats
|
network network-status view-id navigation-stack chats
|
||||||
access-scope->commands-responses layout-height
|
access-scope->commands-responses layout-height
|
||||||
status-module-initialized? status-node-started?]
|
status-module-initialized? status-node-started?]
|
||||||
:or [network (get app-db :network)]
|
:or [network (get app-db :network)]
|
||||||
|
@ -266,6 +266,7 @@
|
||||||
:accounts/accounts accounts
|
:accounts/accounts accounts
|
||||||
:accounts/creating-account? false
|
:accounts/creating-account? false
|
||||||
:networks/networks networks
|
:networks/networks networks
|
||||||
|
:network-status network-status
|
||||||
:network network)
|
:network network)
|
||||||
console-contact
|
console-contact
|
||||||
(assoc :contacts/contacts {console-chat-id console-contact})))))
|
(assoc :contacts/contacts {console-chat-id console-contact})))))
|
||||||
|
|
Loading…
Reference in New Issue