File tree 2 files changed +14
-17
lines changed
src/status_im2/contexts/shell/activity_center
2 files changed +14
-17
lines changed Original file line number Diff line number Diff line change 8
8
[]
9
9
(let [unread-count (rf/sub [:activity-center/unread-count ])]
10
10
[quo/action-drawer
11
- [[{:icon :i/mark-as-read
12
- :override-theme :dark
13
- :label (i18n/label :t/mark-all-notifications-as-read )
14
- :disabled? (zero? unread-count)
15
- :on-press (fn []
16
- (rf/dispatch [:activity-center.notifications/mark-all-as-read-locally
17
- (fn []
18
- {:icon :up-to-date
19
- :icon-color colors/success-50
20
- :text (i18n/label :t/notifications-marked-as-read
21
- {:count unread-count})
22
- :override-theme :dark })])
23
- (rf/dispatch [:hide-bottom-sheet ]))}]]]))
11
+ [[{:icon :i/mark-as-read
12
+ :label (i18n/label :t/mark-all-notifications-as-read )
13
+ :disabled? (zero? unread-count)
14
+ :on-press (fn []
15
+ (rf/dispatch [:activity-center.notifications/mark-all-as-read-locally
16
+ (fn []
17
+ {:icon :up-to-date
18
+ :icon-color colors/success-50
19
+ :text (i18n/label :t/notifications-marked-as-read
20
+ {:count unread-count})
21
+ :theme :dark })])
22
+ (rf/dispatch [:hide-bottom-sheet ]))}]]]))
Original file line number Diff line number Diff line change 28
28
:type :blur-bg
29
29
:size 32
30
30
:accessibility-label :close-activity-center
31
- :override-theme :dark
32
31
:on-press #(rf/dispatch [:navigate-back ])}
33
32
:i/close ]
34
33
[quo/button
35
34
{:icon true
36
35
:type :blur-bg
37
36
:size 32
38
37
:accessibility-label :activity-center-open-more
39
- :override-theme :dark
40
38
:on-press #(rf/dispatch [:show-bottom-sheet
41
- {:content drawer/options
42
- :override- theme :dark }])}
39
+ {:content drawer/options
40
+ :theme :dark }])}
43
41
:i/options ]]
44
42
[quo/text
45
43
{:size :heading-1
You can’t perform that action at this time.
0 commit comments