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 11, 2024
1 parent 53e6a5a commit 3ed229a
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 3ed229a

Please sign in to comment.