Skip to content

Commit

Permalink
feature: add toast notification when sending a contact request
Browse files Browse the repository at this point in the history
  • Loading branch information
seanstrom committed Mar 8, 2024
1 parent db2b9f3 commit 474aaf7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 474aaf7

Please sign in to comment.