[#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
|
:pin
|
||||||
:multiaccount)
|
:multiaccount)
|
||||||
(assoc :logged-in-since now)
|
(assoc :logged-in-since now)
|
||||||
|
(assoc :view-id :home)
|
||||||
(assoc :wallet/waiting-for-recent-history? true))
|
(assoc :wallet/waiting-for-recent-history? true))
|
||||||
::json-rpc/call
|
::json-rpc/call
|
||||||
[{:method "web3_clientVersion"
|
[{:method "web3_clientVersion"
|
||||||
|
|
|
@ -75,7 +75,9 @@
|
||||||
(def memo-separator-fn
|
(def memo-separator-fn
|
||||||
(memoize
|
(memoize
|
||||||
(fn [separator default-separator?]
|
(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
|
(def memo-as-element
|
||||||
(memoize
|
(memoize
|
||||||
|
|
|
@ -331,7 +331,7 @@
|
||||||
set-active-panel (get-set-active-panel active-panel)
|
set-active-panel (get-set-active-panel active-panel)
|
||||||
on-close #(set-active-panel nil)]
|
on-close #(set-active-panel nil)]
|
||||||
(reagent/create-class
|
(reagent/create-class
|
||||||
{:component-will-unmount #(re-frame/dispatch [:close-chat])
|
{:component-will-unmount #(re-frame/dispatch-sync [:close-chat])
|
||||||
:reagent-render
|
:reagent-render
|
||||||
(fn []
|
(fn []
|
||||||
(let [{:keys [chat-id show-input? group-chat admins invitation-admin] :as chat}
|
(let [{:keys [chat-id show-input? group-chat admins invitation-admin] :as chat}
|
||||||
|
|
Loading…
Reference in New Issue