File tree 8 files changed +10
-10
lines changed
quo_preview/notifications
8 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 219
219
(rf/dispatch [:hide-bottom-sheet ])
220
220
(rf/dispatch [:toasts/upsert
221
221
{:id :remove-nickname
222
- :icon :correct
222
+ :icon :i/ correct
223
223
:icon-color (colors/theme-colors colors/success-60
224
224
colors/success-50)
225
225
:text (i18n/label
Original file line number Diff line number Diff line change 352
352
:t/channel-unmuted-successfully ))))]
353
353
{:db (assoc-in db [:chats chat-id :muted-till ] muted-till)
354
354
:dispatch [:toasts/upsert
355
- {:icon :correct
355
+ {:icon :i/ correct
356
356
:icon-color (colors/theme-colors colors/success-60
357
357
colors/success-50)
358
358
:text (mute-duration-text (when (some? muted-till)
Original file line number Diff line number Diff line change 57
57
uri
58
58
#(rf/dispatch [:toasts/upsert
59
59
{:id :random-id
60
- :icon :correct
60
+ :icon :i/ correct
61
61
:icon-color colors/success-50
62
62
:container-style {:bottom (when platform/android? 20 )}
63
63
:text (i18n/label :t/photo-saved )}])))}]]]))
Original file line number Diff line number Diff line change 107
107
[[:toasts/close :delete-message-for-everyone ]
108
108
[:toasts/upsert
109
109
{:id :delete-message-for-everyone
110
- :icon :info
110
+ :icon :i/ info
111
111
:icon-color colors/danger-50-opa-40
112
112
:message-deleted-for-everyone-count toast-count
113
113
:message-deleted-for-everyone-undos existing-undos
Original file line number Diff line number Diff line change 62
62
:dispatch-n [[:toasts/close :delete-message-for-me ]
63
63
[:toasts/upsert
64
64
{:id :delete-message-for-me
65
- :icon :info
65
+ :icon :i/ info
66
66
:icon-color colors/danger-50-opa-40
67
67
:message-deleted-for-me-count toast-count
68
68
:message-deleted-for-me-undos existing-undos
Original file line number Diff line number Diff line change 23
23
[]
24
24
(rf/dispatch [:toasts/upsert
25
25
{:id :random-id
26
- :icon :info
26
+ :icon :i/ info
27
27
:icon-color colors/danger-50-opa-40
28
28
:container-style {:top (when platform/ios? 20 )}
29
29
:text (i18n/label :t/only-6-images )}]))
Original file line number Diff line number Diff line change 35
35
:undo-duration 4
36
36
:undo-on-press #(do
37
37
(rf/dispatch [:toasts/upsert
38
- {:icon :correct
38
+ {:icon :i/ correct
39
39
:icon-color colors/success-50-opa-40
40
40
:text " Undo pressed" }])
41
41
(rf/dispatch [:toasts/close
54
54
#(do
55
55
(rf/dispatch
56
56
[:toasts/upsert
57
- {:icon :correct :icon-color colors/success-50-opa-40 :text " Undo pressed" }])
57
+ {:icon :i/ correct :icon-color colors/success-50-opa-40 :text " Undo pressed" }])
58
58
(rf/dispatch [:toasts/close " Toast: with undo action" ]))}])
59
59
60
60
(defn toast-button-30s-duration
79
79
#(rf/dispatch
80
80
[:toasts/upsert
81
81
{:id " Toast: 30s duration"
82
- :icon :info
82
+ :icon :i/ info
83
83
:icon-color colors/danger-50-opa-40
84
84
:text (str " This is an updated example toast" " - " (swap! suffix inc))
85
85
:duration 3000 }])}
Original file line number Diff line number Diff line change 118
118
{:on-press (fn []
119
119
(clipboard/set-string @code)
120
120
(rf/dispatch [:toasts/upsert
121
- {:icon :correct
121
+ {:icon :i/ correct
122
122
:icon-color colors/success-50
123
123
:text (i18n/label
124
124
:t/sharing-copied-to-clipboard )}]))
You can’t perform that action at this time.
0 commit comments