Skip to content

Commit

Permalink
fix App crashes when pressing on community link (#16019)
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull authored Jun 12, 2023
1 parent 204c899 commit f38c855
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/status_im/utils/universal_links/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,15 @@

(rf/defn handle-navigation-to-desktop-community-from-mobile
{:events [:handle-navigation-to-desktop-community-from-mobile]}
[{:keys [db]} cofx deserialized-key]
(navigation/navigate-to cofx :community {:community-id deserialized-key}))

[cofx deserialized-key]
(navigation/navigate-to cofx :community-overview deserialized-key))

(rf/defn handle-desktop-community
[cofx {:keys [community-id]}]
(native-module/deserialize-and-compress-key
community-id
(fn [deserialized-key]
(rf/dispatch [:handle-navigation-to-desktop-community-from-mobile cofx (str deserialized-key)]))))
(rf/dispatch [:handle-navigation-to-desktop-community-from-mobile (str deserialized-key)]))))

(rf/defn handle-community-chat
[cofx {:keys [chat-id]}]
Expand Down

0 comments on commit f38c855

Please sign in to comment.