[#11173] Open profile on tapping self mention

This commit is contained in:
Roman Volosovskyi 2020-09-17 17:10:16 +03:00
parent 20b5ad9ebb
commit b43f9e0dfd
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@
[{:keys [db] :as cofx} identity]
(let [my-public-key (get-in db [:multiaccount :public-key])]
(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
cofx
{:db (assoc db :contacts/identity identity)}