Skip to content

Commit 83b4661

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

File tree

1 file changed

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

1 file changed

+6
-1
lines changed

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

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@
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
28+
:t/contact-request-was-sent)}]))
2429
[public-key message])]
2530
[:<>
2631
[quo/drawer-top

0 commit comments

Comments
 (0)