mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 03:26:31 +00:00
[#11173] Open profile on tapping self mention
This commit is contained in:
parent
20b5ad9ebb
commit
b43f9e0dfd
@ -289,7 +289,7 @@
|
|||||||
[{:keys [db] :as cofx} identity]
|
[{:keys [db] :as cofx} identity]
|
||||||
(let [my-public-key (get-in db [:multiaccount :public-key])]
|
(let [my-public-key (get-in db [:multiaccount :public-key])]
|
||||||
(if (= my-public-key identity)
|
(if (= my-public-key identity)
|
||||||
(navigation/navigate-to-cofx cofx :my-profile nil)
|
(navigation/navigate-to-cofx cofx :profile-stack {:screen :my-profile})
|
||||||
(fx/merge
|
(fx/merge
|
||||||
cofx
|
cofx
|
||||||
{:db (assoc db :contacts/identity identity)}
|
{:db (assoc db :contacts/identity identity)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user