File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 20
20
full-name (profile.utils/displayed-name profile)
21
21
profile-picture (profile.utils/photo profile)
22
22
online? (rf/sub [:visibility-status-updates/online? public-key])
23
- theme (quo.theme/use-theme-value )]
23
+ theme (quo.theme/use-theme-value )
24
+ on-contact-request (rn/use-callback #(rf/dispatch [:show-bottom-sheet
25
+ {:content (fn [] [contact-request/view])}]))]
24
26
[rn/view {:style style/header-container}
25
27
[rn/view {:style style/avatar-wrapper}
26
28
[avatar/view
37
39
:emoji-dash emoji-hash}]
38
40
[rn/view {:style style/button-wrapper}
39
41
[quo/button
40
- {:on-press #(rf/dispatch [:show-bottom-sheet
41
- {:content (fn [] [contact-request/view])}])
42
+ {:on-press on-contact-request
42
43
:icon-left :i/add-user }
43
44
(i18n/label :t/send-contact-request )]]]))
You can’t perform that action at this time.
0 commit comments