Skip to content

Commit 3ed229a

Browse files
committed
feature: add toast notification when sending a contact request
1 parent 53e6a5a commit 3ed229a

File tree

1 file changed

+5
-1
lines changed
  • src/status_im/contexts/profile/contact/contact_request

1 file changed

+5
-1
lines changed

src/status_im/contexts/profile/contact/contact_request/view.cljs

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@
2020
on-message-submit (rn/use-callback (fn []
2121
(rf/dispatch [:hide-bottom-sheet])
2222
(rf/dispatch [:contact.ui/send-contact-request
23-
public-key message]))
23+
public-key message])
24+
(rf/dispatch [:toasts/upsert
25+
{:id :send-contact-request
26+
:type :positive
27+
:text (i18n/label :t/contact-request-was-sent)}]))
2428
[public-key message])]
2529
[:<>
2630
[quo/drawer-top

0 commit comments

Comments
 (0)