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 21
21
full-name (profile.utils/displayed-name profile)
22
22
profile-picture (profile.utils/photo profile)
23
23
online? (rf/sub [:visibility-status-updates/online? public-key])
24
- theme (quo.theme/use-theme-value )]
24
+ theme (quo.theme/use-theme-value )
25
+ on-contact-request (rn/use-callback #(rf/dispatch [:show-bottom-sheet
26
+ {:content (fn [] [contact-request/view])}]))]
25
27
[rn/view {:style style/header-container}
26
28
[rn/view {:style style/header-top-wrapper}
27
29
[rn/view {:style style/avatar-wrapper}
45
47
:emoji-dash emoji-hash}]
46
48
[rn/view {:style style/button-wrapper}
47
49
[quo/button
48
- {:on-press #(rf/dispatch [:show-bottom-sheet
49
- {:content (fn [] [contact-request/view])}])
50
+ {:on-press on-contact-request
50
51
:icon-left :i/add-user }
51
52
(i18n/label :t/send-contact-request )]]]))
You can’t perform that action at this time.
0 commit comments