We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b445f9e commit b3bced3Copy full SHA for b3bced3
src/status_im/ui/screens/profile/contact/views.cljs
@@ -39,7 +39,8 @@
39
:icon :main-icons/add-contact
40
:disabled blocked?
41
:accessibility-label :add-to-contacts-button
42
- :action #(re-frame/dispatch [:contact.ui/add-to-contact-pressed public-key nil ens-name])}])
+ :action (when-not blocked?
43
+ #(re-frame/dispatch [:contact.ui/add-to-contact-pressed public-key nil ens-name]))}])
44
[{:label (i18n/label (if (or muted? blocked?) :t/unmute :t/mute))
45
:icon :main-icons/notification
46
:accessibility-label :mute-chat
0 commit comments