File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/status_im2/contexts/communities/discover Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
cover {:uri (get-in (:images item) [:banner :uri ])}]
29
29
(if (= view-type :card-view )
30
30
[quo/community-card-view-item (assoc item :width width :cover cover)
31
- #(rf/dispatch [:navigate-to :community-overview (:id item)])]
31
+ #(rf/dispatch [:communities/ navigate-to-community (:id item)])]
32
32
[quo/community-list-item
33
33
{:on-press (fn []
34
34
(rf/dispatch [:communities/load-category-states (:id item)])
35
35
(rf/dispatch [:dismiss-keyboard ])
36
- (rf/dispatch [:navigate-to :community-overview (:id item)]))
36
+ (rf/dispatch [:communities/ navigate-to-community (:id item)]))
37
37
:on-long-press #(rf/dispatch
38
38
[:show-bottom-sheet
39
39
{:content (fn []
141
141
(merge community
142
142
(get mock-community-item-data :data )
143
143
{:cover cover})
144
- #(rf/dispatch [:navigate-to :community-overview (:id community)])]
144
+ #(rf/dispatch [:communities/ navigate-to-community (:id community)])]
145
145
[quo/community-list-item
146
146
{:on-press (fn []
147
147
(rf/dispatch [:communities/load-category-states (:id community)])
148
148
(rf/dispatch [:dismiss-keyboard ])
149
- (rf/dispatch [:navigate-to :community-overview (:id community)]))
149
+ (rf/dispatch [:communities/ navigate-to-community (:id community)]))
150
150
:on-long-press #(js/alert " TODO: to be implemented" )}
151
151
(merge community
152
152
(get mock-community-item-data :data ))])]))
You can’t perform that action at this time.
0 commit comments