File tree 2 files changed +7
-7
lines changed
quo/components/profile/profile_card
status_im/contexts/profile/edit/accent_colour
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 54
54
[rn/view
55
55
{:style style/card-header}
56
56
[user-avatar/user-avatar
57
- {:full-name name
58
- :profile-picture profile-picture
59
- :size :medium
60
- :status-indicator? false
61
- :customization-color customization-color
62
- :static? true }]
57
+ {:full-name name
58
+ :profile-picture profile-picture
59
+ :size :medium
60
+ :status-indicator? false
61
+ :static? true }]
63
62
[rn/view {:flex-direction :row }
64
63
(when show-logged-in?
65
64
[tag/tag
Original file line number Diff line number Diff line change 16
16
unsaved-custom-color (reagent/atom customization-color constants/profile-default-color)
17
17
on-change #(reset! unsaved-custom-color %)]
18
18
(fn [{:keys [customization-color]}]
19
- (let [profile (rf/sub [:profile/profile-with-image ])
19
+ (let [profile (rf/sub [:profile/profile-with-image
20
+ {:customization-color @unsaved-custom-color}])
20
21
profile-picture (profile.utils/photo profile)
21
22
display-name (profile.utils/displayed-name profile)]
22
23
(rn/use-effect
You can’t perform that action at this time.
0 commit comments