[#11994] No chats on Home screen after reopening the app if appearance doesn't match the device settings (dark/light mode)
Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
parent
2494c61f85
commit
c22ffb1032
|
@ -358,6 +358,7 @@
|
|||
:pin
|
||||
:multiaccount)
|
||||
(assoc :logged-in-since now)
|
||||
(assoc :view-id :home)
|
||||
(assoc :wallet/waiting-for-recent-history? true))
|
||||
::json-rpc/call
|
||||
[{:method "web3_clientVersion"
|
||||
|
|
|
@ -75,7 +75,9 @@
|
|||
(def memo-separator-fn
|
||||
(memoize
|
||||
(fn [separator default-separator?]
|
||||
(reagent/as-element (or separator (when (and platform/ios? default-separator?) default-separator))))))
|
||||
(when-let [separator (or separator (when (and platform/ios? default-separator?) default-separator))]
|
||||
(fn []
|
||||
(reagent/as-element separator))))))
|
||||
|
||||
(def memo-as-element
|
||||
(memoize
|
||||
|
|
|
@ -331,7 +331,7 @@
|
|||
set-active-panel (get-set-active-panel active-panel)
|
||||
on-close #(set-active-panel nil)]
|
||||
(reagent/create-class
|
||||
{:component-will-unmount #(re-frame/dispatch [:close-chat])
|
||||
{:component-will-unmount #(re-frame/dispatch-sync [:close-chat])
|
||||
:reagent-render
|
||||
(fn []
|
||||
(let [{:keys [chat-id show-input? group-chat admins invitation-admin] :as chat}
|
||||
|
|
Loading…
Reference in New Issue