File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
contexts/shell/activity_center Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 6868
6969(defn view
7070 []
71- (let [notifications (rf/sub [:activity-center/notifications ])
71+ (let [notifications (rf/sub [:activity-center/supported- notifications ])
7272
7373 ; ; We globally control the active swipeable for all notifications
7474 ; ; because when a swipe left/right gesture initiates, the previously
Original file line number Diff line number Diff line change 99 (fn [activity-center]
1010 (:notifications activity-center)))
1111
12+ (re-frame/reg-sub
13+ :activity-center/supported-notifications
14+ :<- [:activity-center/notifications ]
15+ (fn [notifications]
16+ (->> notifications
17+ (filter #(types/all-supported (:type %))))))
18+
1219(re-frame/reg-sub
1320 :activity-center/unread-counts-by-type
1421 :<- [:activity-center ]
You can’t perform that action at this time.
0 commit comments