From 474aaf7a831c1b7c58820b86eaad188e120b5dea Mon Sep 17 00:00:00 2001 From: Sean Hagstrom Date: Fri, 8 Mar 2024 12:46:54 +0000 Subject: [PATCH] feature: add toast notification when sending a contact request --- .../contexts/profile/contact/contact_request/view.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/status_im/contexts/profile/contact/contact_request/view.cljs b/src/status_im/contexts/profile/contact/contact_request/view.cljs index 55c016403a9..7570f709856 100644 --- a/src/status_im/contexts/profile/contact/contact_request/view.cljs +++ b/src/status_im/contexts/profile/contact/contact_request/view.cljs @@ -20,7 +20,11 @@ on-message-submit (rn/use-callback (fn [] (rf/dispatch [:hide-bottom-sheet]) (rf/dispatch [:contact.ui/send-contact-request - public-key message])) + public-key message]) + (rf/dispatch [:toasts/upsert + {:id :send-contact-request + :type :positive + :text (i18n/label :t/contact-request-was-sent)}])) [public-key message])] [:<> [quo/drawer-top